parity_getBlockReceipts
Access to OpenEthereum's Parity API which exposes additional Parity-only methods.
Parameters
Quantity
orTag
- integer of a block number, or the string'earliest'
,'latest'
or'pending'
, as in the default block parameter.
params: ["0x8D2B29"]
Returns
Array
- The list of all the transactionβs receipts of the given block
Request example
curl https://ethereum.api.watchdata.io/node/jsonrpc?api_key=your_api_key\
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0", "id":1, "method":"parity_getBlockReceipts","params":["0x8D2B29"]}'
URL: https://ethereum.api.watchdata.io/node/jsonrpc?api_key=your_api_key
RequestType: POST
Body:
{
"jsonrpc":"2.0",
"method":"parity_getBlockReceipts",
"params":["0x2ed119"],
"id":1
}
Response
{
"id": 1,
"jsonrpc": "2.0",
"result": [
{
"blockHash": "0xb1bafee9dceb78e91ba7fdf65abd75daccc4e2083dce83b425c1fcb427600ab9",
"blockNumber": "0x8d2b29",
"contractAddress": null,
"cumulativeGasUsed": "0x5208",
"from": "0x82acfdb4ce53d37da54c40ac5799c57d81072cfd",
"gasUsed": "0x5208",
"logs": [],
"status": "0x1",
"effectiveGasPrice": "0xba43b7400",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"to": "0x44f14099b8b9c60515e83a0cb1a85e14982bb091",
"transactionHash": "0xb81841fc6f980341bbb1f02bcaa195f0eb8eea1454c8dde054b4cc773a3ed0af",
"transactionIndex": "0x0"
},
{
"blockHash": "0xb1bafee9dceb78e91ba7fdf65abd75daccc4e2083dce83b425c1fcb427600ab9",
"blockNumber": "0x8d2b29",
"contractAddress": null,
"cumulativeGasUsed": "0xa410",
"from": "0x9807f06dbbc43777c325405c0608eb840c38d64c",
"gasUsed": "0x5208",
"logs": [],
"status": "0x1",
"effectiveGasPrice": "0x98bca5a00",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"to": "0xecd7185f453c364b42e201dcddd8e9fb80c958eb",
"transactionHash": "0xa66a19d18eb998b94cd9dc6a9356be7c7e56c7dfcac0b3773493ce9d7ef7e513",
"transactionIndex": "0x1"
},
]
}
Last updated