Skip to main content

StorageProof

EIP-1186 storage slot proof for trustless contract storage verification.

Overview

StorageProof represents a proof for a single storage slot in a contract’s storage trie. It enables trustless verification of contract storage values without executing transactions or trusting external providers.

Type Definition

Usage

Create StorageProof

Compare Proofs

API Reference

Constructors

Methods

Obtaining Storage Proofs

Use eth_getProof with storage slots:

Storage Slot Calculation

Solidity storage layout determines slot numbers:

Verification Process

Use Cases

Verify Token Balance

Cross-Chain Storage Proof

Oracle-Free Price Feeds

Proof Structure

Common Storage Slots

Specification

See Also