Skip to content
Alchemy Logo

starknet_getStorageProof

POST
/{apiKey}

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

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

object or enumrequired

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

Block hash, number or tag

string[]optional

Class hashes to prove inclusion in the classes trie

string[]optional

Contract addresses to prove inclusion in the contracts trie

object[]optional

Storage keys to prove for specific contracts

Responses

200

Inclusion proofs for requested state elements at the given block

Was this page helpful?