Sidecar provides the following experimental trace
related endpoints :
/experimental/blocks/{blockId}/traces/operations?actions=false
/experimental/blocks/head/traces/operations?actions=false
/experimental/blocks/{blockId}/traces
/experimental/blocks/head/traces
These endpoints were introduced & described in more detail in this PR
And the result from these endpoints is very well explained in this diagram
To be able to get these endpoints you need to check 2 things :
- Run your node with the flag
—unsafe-rpc-external
- Check that the
BlocksTrace
controller has been activated for the chain you are running.
More details on that you can find in this closed issue
Right now, since these endpoints are experimental there are available by default only for Kusama and Polkadot running nodes (by using the flag mentioned above).
For other chains, the BlocksTrace
controller is not active by default so you have to do it manually so add the BlocksTrace
controller locally in the corresponding controller file of your chain, eg. for Polkadot is this file