Get Indexed Call Trace

API to get Sentio call trace. It takes txId.txHash and networkId arguments, where the first is transaction hash, and the second is the numeric ethereum chain ID. An example call looks like the following.

curl --header 'api-key: <API_KEY>' \
     --header 'Content-Type: application/json' \
     --location 'https://app.sentio.xyz/api/v1/solidity/call_trace?txId.txHash=0x4564f9720643fcf54732172d1f29b9a5f16991ca5ae171307181851c37511089&#x26;networkId=1'

The results looks very similar to the normal Ethereum call trace. But we have an additional startIndex and startIndex on each trace entry even for the LOG, representing the execution order in the trace.

This allows you to build chart that marks the order of fund flow.

Get Decoded Call Trace

curl --header 'api-key: <API_KEY>' \
     --header 'Content-Type: application/json' \
     --location 'https://app.sentio.xyz/api/v1/solidity/call_trace?txId.txHash=0x4564f9720643fcf54732172d1f29b9a5f16991ca5ae171307181851c37511089&#x26;networkId=1&#x26;withInternalCalls=true'

An extra withInternalCalls=true parameter could be attach to fetch the decoded trace, which will give you the function info, decoded parameters of both external and internal call trace.