encodeSignedTransactionToJson
encodeSignedTransactionToJson(
signedTransaction,space?):string
Defined in: packages/transact/src/transactions/signed-transaction.ts:184
Encode a signed transaction to wire-format JSON string.
Wire format uses short keys (e.g., amt, fv, snd) matching the Algorand protocol.
Useful for debugging, logging, or any scenario requiring human-readable JSON
that preserves the canonical field names.
Parameters
Section titled “Parameters”signedTransaction
Section titled “signedTransaction”The signed transaction to encode
space?
Section titled “space?”number
Optional indentation for pretty-printing
Returns
Section titled “Returns”string
JSON string in wire format