trace_filter

Retrieves traces of all transactions that match specific filter criteria

Request
Examples
curl https://rpc.xone.org \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"method":"trace_filter","params":[{"fromBlock":"0xccb943","toBlock":"0xccb943","fromAddress":["0xEdC763b3e418cD14767b3Be02b667619a6374076"]}],"id":1,"jsonrpc":"2.0"}'
Response
200 OK
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    {
      "action": {
        "callType": "call",
        "from": "0xEdC763b3e418cD14767b3Be02b667619a6374076",
        "gas": "0x15f90",
        "input": "0x",
        "to": "0x8d12a197cb00d4747a1fe03395095ce2a5cc6819",
        "value": "0x0"
      },
      "blockHash": "0x5c0b4b4d3a64311a802cd51e0dd0f656b5d4016a2cf2f3d780e8b1cfe1b6ac2e",
      "blockNumber": 13498499,
      "result": {
        "gasUsed": "0x0",
        "output": "0x"
      },
      "subtraces": 0,
      "traceAddress": [],
      "transactionHash": "0x17104ac9d3312d8c136b7f44d4b8b47852618065ebfa534bd2d3b5ef218ca1f3",
      "transactionPosition": 1,
      "type": "call"
    }
  ]
}

Request params

NameTypeDescription
idintegerRequest identifier
jsonrpcstringJSON-RPC version
methodstringAPI method name
Parametersarray 
fromBlockstringSpecifies the starting block number or tag (e.g., "latest", "earliest") from which to begin the trace.
toBlockstringSpecifies the ending block number or tag up to which to include in the trace.
fromAddressstringAn array of sender addresses to filter by.
toAddressstringAn array of receiver addresses to filter by.
afterstringThe offset number for pagination purposes.
countstringThe number of traces to retrieve starting from the offset.

Response

200
Array of trace objects matching the filter criteria, each containing details about the transaction trace
NameTypeDescription
Parametersobject 
idinteger
jsonrpcstring
resultobject