Alchemy Logo

starknet_getStorageProof

POST
/{apiKey}

Returns Merkle inclusion proofs for selected elements of the Starknet state at a given block

Path Parameters

apiKeystringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

block_idobject or enumrequired

The hash of the requested block, or number (height) of the requested block, or a block tag

Block hash, number or tag

class_hashesstring[]optional

Class hashes to prove inclusion in the classes trie

contract_addressesstring[]optional

Contract addresses to prove inclusion in the contracts trie

contracts_storage_keysobject[]optional

Storage keys to prove for specific contracts

Responses

200

Inclusion proofs for requested state elements at the given block

Was this page helpful?