Skip to main content

trace_get RPC Method

Returns event (including transactions) by hash or short ID.

Updated on
Nov 2, 2023

trace_get RPC Method

Parameters

transaction
String
The transaction hash.
indexPositions
Array
The index positions of the traces.

Returns

result
[Object]
The list of calls to other contracts containing one object per call, in the order called by the transaction.
Request
1
curl https://docs-demo.fantom.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","method":"trace_get", "params":["0x58846dd2a9fa3ea9e700838db48fd9829ebbc95e103142ac7968f658fd1ed3ac",["0x0"]], "id":1}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free