StateProof
EIP-1186 account proof for trustless Ethereum state verification.Overview
StateProof represents an EIP-1186 account proof with optional storage proofs. It enables light clients and trustless systems to verify account data without executing transactions or trusting external providers.JSON Shape (from RPC)
Usage
Create StateProof
Compare Proofs
API Reference
Constructors
| Function | Description |
|---|---|
from(proof) | Create from StateProofLike object |
Methods
| Function | Description |
|---|---|
equals(a, b) | Check if two proofs are equal |
Obtaining Proofs
Useeth_getProof JSON-RPC method:
Proof Structure
Verification Process
- Verify account proof against known state root
- Reconstruct account from proof nodes
- Compare account fields (balance, nonce, etc.)
- Verify storage proofs against account’s storage root
Use Cases
Light Client Verification
Cross-Chain Proofs
Trustless Balance Verification
Specification
- EIP-1186: https://eips.ethereum.org/EIPS/eip-1186
- JSON-RPC:
eth_getProofmethod
See Also
- StorageProof - Storage slot proofs
- StateRoot - State trie root
- Proof - Generic Merkle proof
- RLP - RLP encoding for trie nodes

