UNPKG

viem

Version:

TypeScript Interface for Ethereum

18 lines 504 B
import type { Address } from 'abitype'; import type { Hash } from './misc.js'; export type AccountProof = Hash; export type StorageProof<TQuantity = bigint> = { key: Hash; proof: Hash[]; value: TQuantity; }; export type Proof<TQuantity = bigint, TIndex = number> = { address: Address; balance: TQuantity; codeHash: Hash; nonce: TIndex; storageHash: Hash; accountProof: AccountProof[]; storageProof: StorageProof<TQuantity>[]; }; //# sourceMappingURL=proof.d.ts.map