trace_filter
Returns traces matching the given filters.
Parameters
Object
- The filter object with the following:
fromBlock
(optional): From this block.toBlock
(optional): To this block.fromAddress
(optional): Sent from these addresses.toAddress
(optional): Sent from these addresses.after
(optional): The offset trace number.count
(optional): Number of traces to display in a batch.
Sample Request
curl https://lb.nodies.app/v1/<INSERT URL> \
-H "x-api-key: <API-KEY>" \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "trace_filter",
"params": [
{
"fromBlock": "0x11",
"toBlock": "0x18"
}
],
"id": 1
}'
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"action": {
"author": "0x0193d941b50d91be6567c7ee1c0fe7af498b4137",
"rewardType": "block",
"value": "0x4563918244f40000"
},
"blockHash": "0xf25fe829ebbf3e2459ecb89cbc1aaa5f83c04501df08d63fa8dd1589f6b1cae0",
"blockNumber": 17,
"result": null,
"subtraces": 0,
"traceAddress": [],
"type": "reward"
},
{
"action": {
"author": "0x1b7047b4338acf65be94c1a3e8c5c9338ad7d67c",
"rewardType": "block",
"value": "0x4563918244f40000"
},
"blockHash": "0x480ff3f8a495b764e4361a6c2e296f34e8721cf1ec54fe5c46827937353bf118",
"blockNumber": 18,
"result": null,
"subtraces": 0,
"traceAddress": [],
"type": "reward"
},
{
"action": {
"author": "0x1b7047b4338acf65be94c1a3e8c5c9338ad7d67c",
"rewardType": "block",
"value": "0x4563918244f40000"
},
"blockHash": "0xec888de9fa46cb7a47b7bd812a2f601d948d89e5317cf9f68976a0dec92b1ee2",
"blockNumber": 19,
"result": null,
"subtraces": 0,
"traceAddress": [],
"type": "reward"
},
{
"action": {
"author": "0x0193d941b50d91be6567c7ee1c0fe7af498b4137",
"rewardType": "block",
"value": "0x4563918244f40000"
},
"blockHash": "0x720c47720a39b4b2f04ca82420b8272910a7c397710fcb8ed8337f5a007e39ec",
"blockNumber": 20,
"result": null,
"subtraces": 0,
"traceAddress": [],
"type": "reward"
},
{
"action": {
"author": "0x1b7047b4338acf65be94c1a3e8c5c9338ad7d67c",
"rewardType": "block",
"value": "0x478eae0e571ba000"
},
"blockHash": "0xb8de276e2666e121a926f1b2654f2208165e52c609e56730081bf6aec313a8a2",
"blockNumber": 21,
"result": null,
"subtraces": 0,
"traceAddress": [],
"type": "reward"
},
{
"action": {
"author": "0x6923f88fcdc5d737237ba10c2d830aa40f4634de",
"rewardType": "uncle",
"value": "0x340aad21b3b70000"
},
"blockHash": "0xb8de276e2666e121a926f1b2654f2208165e52c609e56730081bf6aec313a8a2",
"blockNumber": 21,
"result": null,
"subtraces": 0,
"traceAddress": [],
"type": "reward"
},
{
"action": {
"author": "0xd7e30ae310c1d1800f5b641baa7af95b2e1fd98c",
"rewardType": "block",
"value": "0x4563918244f40000"
},
"blockHash": "0xa8f91e9df6bfd1424a9ec9b0149f01aa31cceed3b21bac7376d90d7f0cd80cf4",
"blockNumber": 22,
"result": null,
"subtraces": 0,
"traceAddress": [],
"type": "reward"
},
{
"action": {
"author": "0x0193d941b50d91be6567c7ee1c0fe7af498b4137",
"rewardType": "block",
"value": "0x4563918244f40000"
},
"blockHash": "0x639f5f5e5b7e354de98dbc0857be83603d57ff55029f6488c96da0c5e42ed91a",
"blockNumber": 23,
"result": null,
"subtraces": 0,
"traceAddress": [],
"type": "reward"
},
{
"action": {
"author": "0x1b7047b4338acf65be94c1a3e8c5c9338ad7d67c",
"rewardType": "block",
"value": "0x4563918244f40000"
},
"blockHash": "0xaddd21b8792c377d83a812dd1bdd539b8e277453bc28182d7526306c5cb48bc0",
"blockNumber": 24,
"result": null,
"subtraces": 0,
"traceAddress": [],
"type": "reward"
}
]
}
Last updated