Alchemy Logo

eth_getProof

POST
/{apiKey}

Returns the Merkle proof for a given account and optionally some storage keys.

Path Parameters

apiKeystringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

Addressstringformat: "^0x[0-9a-fA-F]{40}$"required

The address of the account to generate the proof for.

StorageKeysstring[]required

An array of storage keys (slots) to generate proofs for.

Blockstring or enumrequired

The block number, tag, or hash at which to generate the proof.

Identifies a block by explicit number, a predefined tag (e.g., latest/safe/finalized), or a 32-byte block hash.

Responses

200

An object containing the account proof and storage proofs.

Was this page helpful?