Chain Data
Get traces
Retrieve traces for the given transaction(s). Corresponds to the <a href="/chifra/chaindata/#chifra-traces">chifra traces</a> command line.
get/traces
Query parameters
transactionsstring[] required
a space-separated list of one or more transaction identifiers
articulateboolean
articulate the retrieved data if ABIs can be found
filterstring
call the node's trace_filter routine with bang-separated filter
countboolean
display only the number of traces for the transaction (fast)
chainstring
the chain to use
noHeaderboolean
suppress the header in the output
cacheboolean
force the results of the query into the cache
decacheboolean
removes related items from the cache
etherboolean
export values in ether
fmtstring
export format, one of [ txt | csv | json ]
Response
returns the requested data
Example response
{
"action": {
"callType": "call",
"from": "0x3d0768da09ce77d25e2d998e6a7b6ed4b9116c2d",
"gas": 67896,
"input": "0x432ced044d794669727374436f696e000000000000000000000000000000000000000000",
"to": "0x5564886ca2c518d1964e5fcea4f423b41db9f561",
"value": "0"
},
"blockHash": "0x3a1fba5abd9d41457944e91ed097e039b7b12d3d7ba324a3f422db2277a48e28",
"blockNumber": 52029,
"date": "2015-08-08 06:22:55 UTC",
"result": {
"gasUsed": 21749
},
"subtraces": 0,
"timestamp": 1439014975,
"traceAddress": [],
"transactionHash": "0x218b632d932371478d1ae5a01620ebab1a2030f9dad6f8fba4a044ea6335a57e",
"transactionIndex": 0,
"type": "call"
}