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

Last updated