getBlock
getBlock(
baseChain
): (blockId
) =>Promise
<Block
>
An ethereumjs interface method that accepts a block id number or hash and returns the block
Parameters
• baseChain: BaseChain
Returns
Function
Returns a block by its hash or number.
Parameters
• blockId: number
| bigint
| Uint8Array
Returns
Promise
<Block
>