Class PendingTransaction

Constructors

Properties

aggregateInputAmount: bigint
aggregateOutputAmount: bigint
changeAmount: bigint
feeAmount: bigint
id: string
paymentAmount: any
transaction: Transaction

Returns encapsulated network [Transaction]

type: string

Methods

  • List of unique addresses used by transaction inputs. This method can be used to determine addresses used by transaction inputs in order to select private keys needed for transaction signing.

    Returns any[]

  • Returns void

  • Returns any[]

  • Sign transaction with supplied [Array] or [PrivateKey] or an array of raw private key bytes (encoded as Uint8Array or as hex strings)

    Parameters

    Returns void

  • 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.

    Parameters

    Returns Promise<string>

    • Return copy of self without private attributes.

    Returns Object

  • Return stringified version of self.

    Returns string