UNPKG

viem

Version:

TypeScript Interface for Ethereum

21 lines (17 loc) 416 B
import type { Address } from 'abitype' import type { Hash } from './misc.js' type AccountProof = Hash type StorageProof<quantity = bigint> = { key: Hash proof: Hash[] value: quantity } export type Proof<quantity = bigint, index = number> = { address: Address balance: quantity codeHash: Hash nonce: index storageHash: Hash accountProof: AccountProof[] storageProof: StorageProof<quantity>[] }