Get a list of unconfirmed transactions currently in the transaction pool. | Algorand Developer Portal

Get a list of unconfirmed transactions currently in the transaction pool.

GET

/v2/transactions/pending

Get the list of pending transactions, sorted by priority, in decreasing order, truncated at the end at MAX. If MAX = 0, returns all pending transactions.

Authorizations

Parameters

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.