scrypt-ts-opcat v1.0.1
scrypt-ts-opcat / Block / fromRawBlock
Function: fromRawBlock()
fromRawBlock(data
): Block
Defined in: node_modules/@opcat-labs/opcat/types/block/block.d.cts:128
Creates a Block instance from raw block data.
Parameters
data
any
The raw block data to convert.
Returns
Block
A new Block instance.