ethereumjs-monorepo

@ethereumjs/binarytree


@ethereumjs/binarytree / binaryTreeFromProof

Function: binaryTreeFromProof()

binaryTreeFromProof(proof): Promise<BinaryTree>

Defined in: proof.ts:15

Load proof nodes into a new binary tree and set its root.

Parameters

proof

Uint8Array<ArrayBufferLike>[]

Serialized binary tree nodes along a key path

Returns

Promise<BinaryTree>