Get a list of unconfirmed transactions currently in the transaction pool by address. | Algorand Developer Portal
Get a list of unconfirmed transactions currently in the transaction pool by address.
GET/v2/accounts/{address}/transactions/pending
Get the list of pending transactions by address, sorted by priority, in decreasing order, truncated at the end at MAX. If MAX = 0, returns all pending transactions.
Authorizations
Parameters
Path Parameters
address
required
string/[A-Z0-9]{58}/
An account public key.
Query Parameters
max
integer
Truncated number of transactions to display. If max=0, returns all pending txns.
format
string
Allowed values: json msgpack
Configures whether the response object is JSON or MessagePack encoded. If not provided, defaults to JSON.
Responses
200
A potentially truncated list of transactions currently in the node’s transaction pool. You can compute whether or not the list is truncated if the number of elements in the top-transactions array is fewer than total-transactions.
Select media type application/json, application/msgpack
PendingTransactions is an array of signed transactions exactly as they were submitted.
Object
top-transactions
required
An array of signed transaction objects.
Arraytotal-transactions
required
Total number of transactions in the pool.
integer
400
Max must be a non-negative integer
Select media type application/json, application/msgpack
An error response with optional data field.
Object
data
message
required
string
401
Invalid API Token
Select media type application/json, application/msgpack
An error response with optional data field.
Object
data
message
required
string
500
Internal Error
Select media type application/json, application/msgpack
An error response with optional data field.
Object
data
message
required
string
503
Service Temporarily Unavailable
Select media type application/json, application/msgpack
An error response with optional data field.
Object
data
message
required
string
default
Unknown Error