POSTkaia_getProof
Returns values stored in Storage for a specific address in a format including merkle-proof. The returned proof can be used to verify that the queried storage state has not been tampered with.
Enter the following parameters as an array with the appropriate types.
address- Enter the address to query as a 40-digit hexadecimal string.storage hashes- Array of storage slot positions to query (hexadecimal strings)block identifier- Block number, block hash, or block tag for the block to query.- Block number: Hexadecimal string (e.g. "0x1")
- Block hash: 64-digit hexadecimal string (e.g. "0x39008d07edf93c03bb9d1cfc80598fcf63f441ec86e9de3733fa6a484980ca48")]
- Block tag: Enum string (e.g. "latest", "earliest", "pending")
Address is expressed as a 20-byte hexadecimal string, the address format used on EVM-compatible blockchains.
Storage Hashes is an array of hashes to query values stored in Storage at a specific address. Each hash is expressed as a 64-digit hexadecimal string.
Use one of block hash, block number, or block tag to specify the block.
- Block number: Hexadecimal string (e.g. "0x1")
- Block hash: 64-digit hexadecimal string (e.g. "0x39008d07edf93c03bb9d1cfc80598fcf63f441ec86e9de3733fa6a484980ca48")]
- Block tag: Enum string (e.g. "latest", "earliest", "pending")
earliest: The oldest available block on the chain.finalized: A recently finalized block that can no longer be changed. Primarily used in proof-of-stake (PoS) blockchains.safe: A recent block considered safe by the network (immune to reorgs).latest: The most recent block on the chain (may be subject to reorgs).pending: The next block to be mined, including pending transactions in the mempool.
Address of the proven account
Merkle proof nodes of the account state trie (RLP encoded, hex)
Account balance (hex, in wei)
Keccak-256 hash of the account code
Account transaction count (hex)
Root hash of the storage trie
Storage key (hex)
Storage value (hex)
Merkle proof nodes of the storage state trie (RLP encoded, hex)