ethereumjs-monorepo

@ethereumjs/statemanager


@ethereumjs/statemanager / getMerkleStateProof

Function: getMerkleStateProof()

getMerkleStateProof(sm, address, storageSlots?): Promise<Proof>

Defined in: proof/merkle.ts:36

Build an EIP-1186 proof from a MerkleStateManager.

Parameters

sm

MerkleStateManager

address

Address

Account to prove

storageSlots?

Uint8Array<ArrayBufferLike>[] = []

Storage keys to include in the proof (defaults to none)

Returns

Promise<Proof>