encodeTransaction
encodeTransaction(
transaction):Uint8Array
Defined in: packages/transact/src/transactions/transaction.ts:391
Encode the transaction with the domain separation (e.g. “TX”) prefix
Parameters
Section titled “Parameters”transaction
Section titled “transaction”The transaction to encode
Returns
Section titled “Returns”Uint8Array
The MsgPack encoded bytes or an error if encoding fails.