[Block] klay_getBlockReceipts
Returns receipts included in a block identified by block hash.
JSONRPC: klay_getBlockReceipts
Request
- application/json
Body
Default value: klay_getBlockReceipts
Method name
Default value: 1
Request ID, Random or Auto incrementation
Default value: 2.0
JSON-RPC Version (2.0)
Hash of a block
Responses
- 200
Receipts included in a block. If the target block contains no transaction, an empty array [] is returned.
- application/json
- Schema
- Example (from schema)
Schema
Default value: 2.0
error
object
A Number that indicates the error type that occurred. This MUST be an integer.
| code | message | description | |-----|-----|-------| | -32700 | Parse error | invalid JSON was received by the server. An error occurred on the server while parsing the JSON text. | |-32602 | Invalid params | Invalid method parameter(s). |
A String providing a short description of the error. The message SHOULD be limited to a concise single sentence.
A Primitive or Structured value that contains additional information about the error. This may be omitted. The value of this member is defined by the Server (e.g. detailed error information, nested errors etc.).
{
"jsonrpc": "2.0",
"id": 0,
"error": {
"code": -32700,
"message": "Parse error",
"data": "string"
},
"result": [
{
"blockHash": "0xbbf314246e4b3578790ee48ada42111bc67708a4539373ccc2feb5d88833d839",
"blockNumber": "0x83db764",
"contractAddress": null,
"effectiveGasPrice": "0x5d21dba00",
"feePayer": "0x5e6b99bca5a21818d40d12c56194674989146fc8",
"feePayerSignatures": [
{
"V": "0x7f5",
"R": "0xfd3bf3bb2ee88b4a3399c0a87d21d1bd6f87f1510da495dad7d106774d882a95",
"S": "0x17f88f413d72e15a0352b594bb138f5150c0eb68b673a56852f25d0d3a01f161"
}
],
"from": "0x95b4cef2d1d6a0b22b339306cea3aff74548cf83",
"gas": "0x61a80",
"gasPrice": "0xba43b7400",
"gasUsed": "0x23b6e",
"input": "0x202ee0ed000000000000000000000000000000000000000000000000000000000000e92d000000000000000000000000000000000000000000000000000000172f6e3700",
"logs": [
{
"address": "0x5266b74a8063e08e603bfbfc1ede4d71b8245dcd",
"topics": [
"0x0109fc6f55cf40689f02fbaad7af7fe7bbac8a3d2186600afc7d3e10cac60271",
"0x000000000000000000000000000000000000000000000000000000000000e92d",
"0x00000000000000000000000095b4cef2d1d6a0b22b339306cea3aff74548cf83"
],
"data": "0x0000000000000000000000000000000000000000000000000000000065518cbe",
"blockNumber": "0x83db764",
"transactionHash": "0x3aed1cf24976a3f89944bb06825db8a1fb3df2741e16b1b1922d6d0db9357856",
"transactionIndex": "0x0",
"blockHash": "0xbbf314246e4b3578790ee48ada42111bc67708a4539373ccc2feb5d88833d839",
"logIndex": "0x0",
"removed": false
},
{
"address": "0x5266b74a8063e08e603bfbfc1ede4d71b8245dcd",
"topics": [
"0x92e98423f8adac6e64d0608e519fd1cefb861498385c6dee70d58fc926ddc68c",
"0x000000000000000000000000000000000000000000000000000000172f6e3700",
"0x000000000000000000000000000000000000000000000000000000000000e92d",
"0x00000000000000000000000095b4cef2d1d6a0b22b339306cea3aff74548cf83"
],
"data": "0x",
"blockNumber": "0x83db764",
"transactionHash": "0x3aed1cf24976a3f89944bb06825db8a1fb3df2741e16b1b1922d6d0db9357856",
"transactionIndex": "0x0",
"blockHash": "0xbbf314246e4b3578790ee48ada42111bc67708a4539373ccc2feb5d88833d839",
"logIndex": "0x1",
"removed": false
},
{
"address": "0x5266b74a8063e08e603bfbfc1ede4d71b8245dcd",
"topics": [
"0x0559884fd3a460db3073b7fc896cc77986f16e378210ded43186175bf646fc5f",
"0x000000000000000000000000000000000000000000000000000000172f6e3700",
"0x000000000000000000000000000000000000000000000000000000000000e92d"
],
"data": "0x0000000000000000000000000000000000000000000000000000000065518cbe",
"blockNumber": "0x83db764",
"transactionHash": "0x3aed1cf24976a3f89944bb06825db8a1fb3df2741e16b1b1922d6d0db9357856",
"transactionIndex": "0x0",
"blockHash": "0xbbf314246e4b3578790ee48ada42111bc67708a4539373ccc2feb5d88833d839",
"logIndex": "0x2",
"removed": false
}
],
"logsBloom": "0x00000000000000000020000000000000400000000000000000000000000000000000000000000000040000000020000000000000000200000000000000000000000000000000000000000000002000000000000001000000000100000000000000000000000000001000000000000001000000000400000000008000100000000000000000000000000000000000000000000c80000000000000000000000000000000001000000000000000000000000000000000000000000400000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000",
"nonce": "0xe92c",
"senderTxHash": "0x557b98f94afd1270ba13c9f71c0b9ab862437ff155850a63d798156641b62368",
"signatures": [
{
"V": "0x7f5",
"R": "0xc8817da92672f512af1573d50f998abd785013ba077760f7496550c0b98ea200",
"S": "0x16d5a6a393488f002d63596f55d7b3c2425feff71df23cf44f90d48c88841529"
}
],
"status": "0x1",
"to": "0x5266b74a8063e08e603bfbfc1ede4d71b8245dcd",
"transactionHash": "0x3aed1cf24976a3f89944bb06825db8a1fb3df2741e16b1b1922d6d0db9357856",
"transactionIndex": "0x0",
"type": "TxTypeFeeDelegatedSmartContractExecution",
"typeInt": 49,
"value": "0x0"
}
]
}