Skip to navigation

debug_executionWitness

Availability: Access to the debug namespace depends on your endpoint’s method allowlist. Starting August 4, 2026 at 12:00 PM PST, all debug_* methods require an API key appended to the RPC URL — unauthenticated calls are rejected. If you receive -32601 method not found or method not supported errors, contact Conduit support to confirm your endpoint’s configuration.

Returns every trie node, contract code, preimage key, and ancestor header that block execution touches. A stateless client can re-execute the block with only this witness. Witnesses are large (tens of KB even for nearly empty blocks) and are only available for recent blocks whose state the node still keeps.

⚡ Compute Units: 75 CU

Request

This endpoint expects an object.
blockNumberenum or stringRequired
Block number or tag.

Response

Execution witness.
statelist of stringsOptional

RLP-encoded trie nodes.

codeslist of stringsOptional
Contract bytecode touched during execution.
keyslist of stringsOptional
Preimages of the account and storage keys accessed.
headerslist of stringsOptional

RLP-encoded ancestor headers needed for BLOCKHASH.