getMempool method

Future<List<TransactionReceipt>> getMempool()

Returns a list of pending transactions.

Implementation

Future<List<TransactionReceipt>> getMempool() {
  return _makeRPCCall<List<dynamic>>('topl_mempool', params: [{}]).then(
      (mempool) => mempool
          .map((e) => TransactionReceipt.fromJson(e as Map<String, dynamic>))
          .toList());
}