UNPKG

viem

Version:

TypeScript Interface for Ethereum

21 lines (17 loc) 437 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>[] }