github.com/algorand/go-algorand-sdk@v1.24.0/client/v2/common/models/pending_transaction_response.go (about)

     1  package models
     2  
     3  import "github.com/algorand/go-algorand-sdk/types"
     4  
     5  // PendingTransactionResponse details about a pending transaction. If the
     6  // transaction was recently confirmed, includes confirmation details like the round
     7  // and reward details.
     8  type PendingTransactionResponse struct {
     9  	// ApplicationIndex the application index if the transaction was found and it
    10  	// created an application.
    11  	ApplicationIndex uint64 `json:"application-index,omitempty"`
    12  
    13  	// AssetClosingAmount the number of the asset's unit that were transferred to the
    14  	// close-to address.
    15  	AssetClosingAmount uint64 `json:"asset-closing-amount,omitempty"`
    16  
    17  	// AssetIndex the asset index if the transaction was found and it created an asset.
    18  	AssetIndex uint64 `json:"asset-index,omitempty"`
    19  
    20  	// CloseRewards rewards in microalgos applied to the close remainder to account.
    21  	CloseRewards uint64 `json:"close-rewards,omitempty"`
    22  
    23  	// ClosingAmount closing amount for the transaction.
    24  	ClosingAmount uint64 `json:"closing-amount,omitempty"`
    25  
    26  	// ConfirmedRound the round where this transaction was confirmed, if present.
    27  	ConfirmedRound uint64 `json:"confirmed-round,omitempty"`
    28  
    29  	// GlobalStateDelta (gd) Global state key/value changes for the application being
    30  	// executed by this transaction.
    31  	GlobalStateDelta []EvalDeltaKeyValue `json:"global-state-delta,omitempty"`
    32  
    33  	// InnerTxns inner transactions produced by application execution.
    34  	InnerTxns []PendingTransactionResponse `json:"inner-txns,omitempty"`
    35  
    36  	// LocalStateDelta (ld) Local state key/value changes for the application being
    37  	// executed by this transaction.
    38  	LocalStateDelta []AccountStateDelta `json:"local-state-delta,omitempty"`
    39  
    40  	// Logs (lg) Logs for the application being executed by this transaction.
    41  	Logs [][]byte `json:"logs,omitempty"`
    42  
    43  	// PoolError indicates that the transaction was kicked out of this node's
    44  	// transaction pool (and specifies why that happened). An empty string indicates
    45  	// the transaction wasn't kicked out of this node's txpool due to an error.
    46  	PoolError string `json:"pool-error"`
    47  
    48  	// ReceiverRewards rewards in microalgos applied to the receiver account.
    49  	ReceiverRewards uint64 `json:"receiver-rewards,omitempty"`
    50  
    51  	// SenderRewards rewards in microalgos applied to the sender account.
    52  	SenderRewards uint64 `json:"sender-rewards,omitempty"`
    53  
    54  	// Transaction the raw signed transaction.
    55  	Transaction types.SignedTxn `json:"txn"`
    56  }