Methods
getBytesNoHashAndSig
- getBytesNoHashAndSig(tx: Transaction): Buffer
-
Parameters
Returns Buffer
hash
- hash(tx: Transaction, prefix?: string): string
-
Parameters
-
tx: Transaction
-
Default value prefix: string = "0x"
Returns string
sign
- sign(tx: Transaction, sk: PrivateKey, prefix?: string): string
-
Parameters
-
tx: Transaction
-
-
Default value prefix: string = "0x"
Returns string
An hex string
TxUtility provides transaction processing functions to be used by other modules.
TxUtility