debug_preimage
Robinhood Chain node API
debug_preimage | Robinhood
Robinhood Chain API method that returns the preimage for a given Keccak-256 hash. In Ethereum’s state trie, account addresses are stored as their Keccak-256 hashes.
POST
debug_preimage
Robinhood Chain API method that returns the preimage for a given Keccak-256 hash. In Ethereum’s state trie, account addresses are stored as their Keccak-256 hashes. This method allows retrieving the original data (preimage) that was hashed. The node must have preimage recording enabled for this method to return results.
Learn how to deploy a node with the debug and trace API methods enabled.
Get your own node endpoint todayStart 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.
Parameters
hash— the Keccak-256 hash to look up the preimage for, encoded as a hex string.
Response
data— the raw preimage bytes as a hex string. Returns an error if the preimage is not found.
debug_preimage code examples
Last modified on July 18, 2026