Class PendingTransactionResponse

Details about a pending transaction. If the transaction was recently confirmed, includes confirmation details like the round and reward details.

Hierarchy

Constructors

Properties

applicationIndex?: number | bigint

The application index if the transaction was found and it created an application.

assetClosingAmount?: number | bigint

The number of the asset's unit that were transferred to the close-to address.

assetIndex?: number | bigint

The asset index if the transaction was found and it created an asset.

attribute_map: Record<string, string>
closeRewards?: number | bigint

Rewards in microalgos applied to the close remainder to account.

closingAmount?: number | bigint

Closing amount for the transaction.

confirmedRound?: number | bigint

The round where this transaction was confirmed, if present.

globalStateDelta?: modelsv2.EvalDeltaKeyValue[]

Global state key/value changes for the application being executed by this transaction.

Inner transactions produced by application execution.

localStateDelta?: modelsv2.AccountStateDelta[]

Local state key/value changes for the application being executed by this transaction.

logs?: Uint8Array[]

Logs for the application being executed by this transaction.

poolError: string

Indicates that the transaction was kicked out of this node's transaction pool (and specifies why that happened). An empty string indicates the transaction wasn't kicked out of this node's txpool due to an error.

receiverRewards?: number | bigint

Rewards in microalgos applied to the receiver account.

senderRewards?: number | bigint

Rewards in microalgos applied to the sender account.

The raw signed transaction.

Methods

  • Get an object ready for encoding to either JSON or msgpack.

    Parameters

    • binary: boolean = false

      Use true to indicate that the encoding can handle raw binary objects (Uint8Arrays). Use false to indicate that raw binary objects should be converted to base64 strings. True should be used for objects that will be encoded with msgpack, and false should be used for objects that will be encoded with JSON.

    Returns Record<string, any>

Generated using TypeDoc