getTransactionFromMempool method

Future<TransactionReceipt?> getTransactionFromMempool(
  1. String id
)

Returns a receipt of a transaction that has not yet been forged into a block and is still present in the mempool

Implementation

Future<TransactionReceipt?> getTransactionFromMempool(String id) {
  return _makeRPCCall<Map<String, dynamic>>('topl_transactionFromMempool',
      params: [
        {'transactionId': id}
      ]).then((value) => TransactionReceipt.fromJson(value));
}