Readonly
aggregateReadonly
aggregateReadonly
changeReadonly
feeReadonly
idReadonly
paymentReadonly
transactionReadonly
typeSerializes the transaction to a JSON string. The schema of the JSON is defined by ISerializableTransaction. Once serialized, the transaction can be deserialized using Transaction.deserializeFromJSON.
Serializes the transaction to a pure JavaScript Object. The schema of the JavaScript object is defined by ISerializableTransaction.
Serializes the transaction to a "Safe" JSON schema where it converts all bigint
values to string
to avoid potential client-side precision loss.
Once serialized, the transaction can be deserialized using Transaction.deserializeFromSafeJSON.
Sign transaction with supplied [Array
] or [PrivateKey
] or an array of
raw private key bytes (encoded as Uint8Array
or as hex strings)
Submit transaction to the supplied [RpcClient
]
IMPORTANT: This method will remove UTXOs from the associated
UtxoContext if one was used to create the transaction
and will return UTXOs back to UtxoContext in case of
a failed submission.
Returns encapsulated network [
Transaction
]