getPendingTransactions method

Future<PendingTransactionsResponse> getPendingTransactions({
  1. int max = 0,
})

Get the list of unconfirmed pending transactions currently in the transaction pool sorted by priority, in decreasing order, truncated at the end at MAX.

If MAX = 0, returns all pending transactions.

Throws an AlgorandException if there is an HTTP error. Returns the pending transactions.

Implementation

Future<PendingTransactionsResponse> getPendingTransactions({
  int max = 0,
}) async {
  return _transactionRepository.getPendingTransactions(max: max);
}