Caducues EVM JSON-RPC
eth
getProof
1min
POST
Authentication
Authorization
Body Parameters
body
Responses
200
Returns the account and storage values of the specified account, including the Merkle proof.
The API allows IoT devices or mobile apps which are unable to run light clients to verify responses
from untrusted sources, by using a trusted block hash.
DATA
- 20-byte address of the account or contract.
ARRAY
- Array of 32-byte storage keys to generate proofs for.
QUANTITY|TAG
- Integer representing a block number or one of the string tags latest
,
earliest
, or pending
result
: Object - Account details:
balance
:Quantity
- Account balance.codeHash
:Data, 32-byte
- Hash of the account code.nonce
:Quantity
- Number of transactions sent from the account.storageHash
:Data, 32-byte
- SHA3 of the storageRoot
.accountProof
:Array
- RLP-encoded Merkle tree nodes, starting with the stateRoot
.storageProof
:Array
- Storage entries. Each entry is an object that displays:
key
:Quantity
- Storage key.value
:Quantity
- Storage value.proof
:Array
- RLP-encoded Merkle tree nodes, starting with the storageHash
.