Introduction
The debug and trace API methods are special RPC methods that allow you to replay transactions in the Ethereum Virtual Machine to get the execution details in the exact same way as they happened on the chain.
Get you own node endpoint today
Start for free and get your app to production levels immediately. No credit card required.
You can sign up with your GitHub, X, Google, or Microsoft account.
To get the debug and trace API methods enabled on your Chainstack node, you must deploy a node of a certain configuration which will also depend on your subscription plan. Node configurations distribute between the subscription plans as follows:
API methods | Subscription plan | Node type | Node mode | Client |
---|---|---|---|---|
debug_* | Growth and higher | Dedicated | Full | Geth |
debug_* | Growth and higher | Dedicated | Archive | Geth |
debug_* and trace_* | Growth and higher | Dedicated | Archive | Erigon |
debug_* and trace_* | Business and higher | Elastic | Archive | Erigon |
Elastic Ethereum node
Once you have joined a public network, deploy your elastic Ethereum node with both debug_*
and trace_*
API methods enabled:
- Select the project with the network.
- Select the network.
- Click Add node.
- Provide a node name.
- Under Type, select Elastic.
- Under Mode, select Archive. With an archive node, you will be able to query historical states for the entire chain.
- Under Debug and trace APIs, select On.
- Under Hosting, select Chainstack.
- For Chainstack hosting, select a cloud provider and a region.
- Review your changes and click Add node.
The node status will change from Pending to Running once deployed. You will also see the Debug and trace tag next to the node name.
Dedicated Ethereum node
Once you have joined a public network, deploy your dedicated Ethereum node with the debug_*
or both debug_*
and trace_*
API methods enabled:
- Select the project with the network.
- Select the network.
- Click Add node.
- Provide a node name.
- Under Type, select Dedicated.
- Under Mode, select one of the following modes:
- Full — will enable the
debug_*
API method on your node by default. With a full node, you will be able to query historical states for the immediately previous 128 blocks. - Archive — with an archive node, you will be able to query historical states for the entire chain.
- Full — will enable the
- Under Hosting, select Chainstack. See Support hosting options.
- For Chainstack hosting, select a cloud provider and a region.
- If you are deploying a dedicated archive node, under Client, select one of the following:
- Geth — to enable the
debug_*
API method on your node. - Erigon — to enable both
debug_*
andtrace_*
API methods on your node.
- Geth — to enable the
- Review your changes and click Send request.
Chainstack Sales team will reach out to your shortly.