trace_filter
Parameters
-
Object
- The filter objectfromBlock
:Quantity
orTag
- (optional) From this block.toBlock
:Quantity
orTag
- (optional) To this block.fromAddress
:Array
- (optional) Sent from these addresses.toAddress
:Address
- (optional) Sent to these addresses.after
:Quantity
- (optional) The offset trace numbercount
:Quantity
- (optional) Integer number of traces to display in a batch.
Returns
Array
- Traces matching given filter
Example
Request
curl https://astar.blastapi.io/<project-id>
-X POST \
-H "Content-Type: application/json" \
-d '{"method":"trace_filter","params":[{"fromBlock":"0x412A61","toBlock":"0x412A62"}],"id":1,"jsonrpc":"2.0"}'