Skip to main content

fromString

scrypt-ts-opcat v1.0.1


scrypt-ts-opcat / Transaction / fromString

Function: fromString()

fromString(rawHex): Transaction

Defined in: node_modules/@opcat-labs/opcat/types/transaction/transaction.d.cts:685

Creates a Transaction instance from a raw hexadecimal string.

Parameters

rawHex

string

The hexadecimal string representation of the transaction.

Returns

Transaction

A new Transaction instance populated from the input string.