본문으로 건너뛰기
버전: 3.3.1

API

/estimateGas


POST

Summary: 현재 지원되지 않습니다.

Parameters

이름위치설명필수 파라미터 여부스키마
bodybodyYesrpcRawTxReq

Responses

코드설명스키마
200rpcGasRes

/getBalance/{ID}/{useLongestChain}


GET

Summary: account ID로 주어진 계정의 잔액을 조회합니다.

Parameters

이름위치설명필수 파라미터 여부스키마
IDpathYesstring
useLongestChainpathYesboolean (boolean)

Responses

코드설명스키마
200rpcGetBalanceRes

/getBlockByHash/{hash}/{complete}


GET

Summary: 블록해쉬로 블록 정보를 가져옵니다.

Parameters

이름위치설명필수 파라미터 여부스키마
hashpathYesstring
completepathYesboolean (boolean)

Responses

코드설명스키마
200rpcBlockInfo

/getBlockByNum/{num}/{complete}


GET

Summary: 블록넘버로 블록 정보를 가져옵니다.

Parameters

이름위치설명필수 파라미터 여부스키마
numpathYesstring (int64)
completepathYesboolean (boolean)

Responses

코드설명스키마
200rpcBlockInfo

/getHeight


GET

Summary: 현재 블록체인의 높이를 가져옵니다. (가장 마지막 블록넘버)

Responses

코드설명스키마
200rpcHeightRes

/getNetID


GET

Summary: 네트워크 아이디(net id)를 가져옵니다.

Responses

코드설명스키마
200rpcGetNetIDRes

/getState/{key}


GET

Summary: 파라미터로 주어진 key로 stateDB에 저장된 값을 조회합니다.

Parameters

이름위치설명필수 파라미터 여부스키마
keypathYesstring
fieldqueryNostring

Responses

코드설명스키마
200rpcGetStateRes

/getTxByHash/{hash}


GET

Summary: 트랜잭션 해시로 트랜잭션 정보를 조회합니다.

Parameters

이름위치설명필수 파라미터 여부스키마
hashpathYesstring

Responses

코드설명스키마
200rpctxRes

/getTxReceiptByHash/{hash}


GET

Summary: 해시로 트랜잭션 영수증(receipt)을 조회합니다.

Parameters

이름위치설명필수 파라미터 여부스키마
hashpathYesstring

Responses

코드설명스키마
200rpctxReceiptRes

/getTxReceiptByTxHash/{hash}


GET

Summary: 트랜잭션 해시를 통해 트랜잭션 영수증(receipt)을 조회합니다.

Parameters

이름위치설명필수 파라미터 여부스키마
hashpathYesstring

Responses

코드설명스키마
200rpctxReceiptRes

/sendRawTx


POST

Summary: 인코드 된 트랜잭션을 전송합니다.

Parameters

이름위치설명필수 파라미터 여부스키마
bodybodyYesrpcRawTxReq

Responses

코드설명스키마
200rpcSendRawTxRes

/subscribe


POST

Summary: 이벤트를 구독합니다.

Parameters

이름위치설명필수 파라미터 여부스키마
bodybodyYesrpcSubscribeReq

Responses

코드설명스키마
200(streaming responses)rpcSubscribeRes

Models


EventTopic

이름타입설명필수 파라미터 여부
EventTopicstring

blockBlockHead

이름타입설명필수 파라미터 여부
versionstring (int64)No
parentHashbyteNo
txsHashbyteNo
merkleHashbyteNo
infobyteNo
numberstring (int64)No
witnessstringNo
timestring (int64)No

cryptoSignatureRaw

이름타입설명필수 파라미터 여부
algorithmintegerNo
sigbyteNo
pubKeybyteNo

eventEvent

이름타입설명필수 파라미터 여부
topicEventTopicNo
datastringNo
timestring (int64)No

rpcBlockInfo

이름타입설명필수 파라미터 여부
headblockBlockHeadNo
hashbyteNo
txs[ txTxRaw ]No
txhash[ byte ]No
receipts[ txTxReceiptRaw ]No
receiptHash[ byte ]No

rpcGasRes

이름타입설명필수 파라미터 여부
gasstring (uint64)No

rpcGetBalanceRes

이름타입설명필수 파라미터 여부
balancestring (int64)No

rpcGetNetIDRes

이름타입설명필수 파라미터 여부
IDstringNo

rpcGetStateRes

이름타입설명필수 파라미터 여부
valuestringNo

rpcHeightRes

이름타입설명필수 파라미터 여부
heightstring (int64)No

rpcRawTxReq

이름타입설명필수 파라미터 여부
databyteNo

rpcSendRawTxRes

이름타입설명필수 파라미터 여부
hashstringNo

rpcSubscribeReq

이름타입설명필수 파라미터 여부
topics[ EventTopic ]No

rpcSubscribeRes

이름타입설명필수 파라미터 여부
eveventEventNo

rpctxReceiptRes

이름타입설명필수 파라미터 여부
txReceiptRawtxTxReceiptRawNo
hashbyteNo

rpctxRes

이름타입설명필수 파라미터 여부
txRawtxTxRawNo
hashbyteNo

txActionRaw

이름타입설명필수 파라미터 여부
contractstringNo
action이름stringNo
datastringNo

txReceiptRaw

이름타입설명필수 파라미터 여부
typeintegerNo
contentstringNo

txStatusRaw

이름타입설명필수 파라미터 여부
codeintegerNo
messagestringNo

txTxRaw

이름타입설명필수 파라미터 여부
timestring (int64)No
expirationstring (int64)No
gasLimitstring (int64)No
gasPricestring (int64)No
actions[ txActionRaw ]No
signers[ byte ]No
signs[ cryptoSignatureRaw ]No
publishercryptoSignatureRawNo

txTxReceiptRaw

이름타입설명필수 파라미터 여부
txHashbyteNo
gasUsagestring (int64)No
statustxStatusRawNo
succActionNumintegerNo
receipts[ txReceiptRaw ]No