메인 콘텐츠로 건너뛰기
POST
quai_getRawTransactionByBlockNumberAndIndex
curl --request POST \
  --url https://rpc.quai.network/cyprus1/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "method": "quai_getRawTransactionByBlockNumberAndIndex",
  "params": [
    "0x12F",
    "0x1"
  ],
  "id": 1
}
'
{
  "jsonrpc": "2.0",
  "result": "0x00f86c82232824843b9aca00847735940482a41094111a8a2ffb1729497e0cfbfc5fa2e2b405e13ba74f80c080a01c2ae1b000172a500f1a7e6e9265264d9ba9e9edd835411bf4233f3f2b05c7d9a01f9e48da332873ea7514b5ffa17febd543a7a9d0ef20651a4b14a394c0333837",
  "id": 1
}

본문

application/json
jsonrpc
enum<string>
필수
사용 가능한 옵션:
2.0
예시:

"2.0"

method
enum<string>
필수

The name of the method to be invoked.

사용 가능한 옵션:
quai_getRawTransactionByBlockNumberAndIndex
예시:

"quai_getRawTransactionByBlockNumberAndIndex"

params
string[]
필수

The block number and transaction index.

Required array length: 2 elements
예시:
["0x12F", "0x1"]
id
integer
필수

A unique identifier for the request.

예시:

1

응답

200 - application/json

Successful response

jsonrpc
string
예시:

"2.0"

result
string

The raw transaction bytecode.

예시:

"0x00f86c82232824843b9aca00847735940482a41094111a8a2ffb1729497e0cfbfc5fa2e2b405e13ba74f80c080a01c2ae1b000172a500f1a7e6e9265264d9ba9e9edd835411bf4233f3f2b05c7d9a01f9e48da332873ea7514b5ffa17febd543a7a9d0ef20651a4b14a394c0333837"

id
integer
예시:

1