Readonly
aggregateReadonly
aggregateTotal aggregate output amount.
Readonly
changeChange amount (if any).
Readonly
feeTotal transaction fees (network fees + priority fees).
Readonly
idTransaction Id
Readonly
massCalculated transaction mass.
Readonly
minimumMinimum number of signatures required by the transaction. (as specified during the transaction creation).
Readonly
paymentTotal amount transferred to the destination (aggregate output - change).
Readonly
transactionReturns encapsulated network [Transaction
]
Readonly
typeTransaction type ("batch" or "final").
Creates and returns a signature for the input at the specified index.
Optional
sighash_type: SighashTypeSerializes 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.
Signs transaction with supplied [Array
] or [PrivateKey
] or an array of
raw private key bytes (encoded as Uint8Array
or as hex strings)
Optional
check_fully_signed: booleanSigns the input at the specified index with the supplied private key and an optional SighashType.
Optional
sighash_type: SighashTypeSubmit 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.
Make sure to consume the returned txid
value. Always invoke this method
as follows let txid = await pendingTransaction.submit(rpc);
. If you do not
consume the returned value and the rpc object is temporary, the GC will
collect the rpc
object passed to submit() potentially causing a panic.
Generated using TypeDoc
Total aggregate input amount.