Debug API
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.
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
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.
Last updated