cURL
curl --request POST \ --url https://{network}.s.chainbase.online/v1/{api-key} \ --header 'Content-Type: application/json' \ --data '{ "id": 1, "jsonrpc": "2.0", "method": "trace_transaction", "params": [ "0x0b8f9635aad56d18381d2fd7ad0578cd54fb316b0b017948a3048915cfd29034" ] }'
{ "id": 1, "jsonrpc": "2.0", "result": [ { "action": { "from": "<string>", "callType": "<string>", "gas": "<string>", "input": "<string>", "to": "<string>", "value": "<string>" }, "blockHash": "<string>", "blockNumber": "<string>", "result": { "gasUsed": "<string>", "output": "<string>" }, "subtraces": 123, "traceAddress": [ 123 ], "transactionHash": "<string>", "transactionPosition": 123, "type": "<string>" } ] }
Returns traces for the given transaction
Parameters
DATA, 32 Bytes - The transaction’s hash
Returns
Object - An object of type AdhocTraceArray, see trace_filter.
"demo"
1
"2.0"
Successful Response
Show child attributes