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

     1  package models
     2  
     3  import "github.com/algorand/go-algorand-sdk/types"
     4  
     5  // PendingTransactionsResponse a potentially truncated list of transactions
     6  // currently in the node's transaction pool. You can compute whether or not the
     7  // list is truncated if the number of elements in the **top-transactions** array is
     8  // fewer than **total-transactions**.
     9  type PendingTransactionsResponse struct {
    10  	// TopTransactions an array of signed transaction objects.
    11  	TopTransactions []types.SignedTxn `json:"top-transactions"`
    12  
    13  	// TotalTransactions total number of transactions in the pool.
    14  	TotalTransactions uint64 `json:"total-transactions"`
    15  }