@ethereumjs/util / getBinaryTreeStem
getBinaryTreeStem(
hashFunction,address,treeIndex):Uint8Array
Defined in: packages/util/src/binaryTree.ts:23
(value) => Uint8Array
The hashFunction for the binary tree
The address to generate the tree key for.
The index of the tree to generate the key for. Defaults to 0.
number |
bigint |
Uint8Array
The 31-bytes binary tree stem as a Uint8Array.
Returns the 31-bytes binary tree stem for a given address and tree index.