currentMempool method

Future<CurrentMempoolRes> currentMempool({
  1. CallOptions? options,
})

Returns a CurrentMempoolRes object for the current mempool.

options is an CallOptions for runtime options with RPC

Throws an Exception if an error occurs during the RPC request.

Implementation

Future<CurrentMempoolRes> currentMempool({
  CallOptions? options,
}) async {
  final CurrentMempoolReq request = CurrentMempoolReq();
  final CurrentMempoolRes response = await nodeStub.currentMempool(
    request,
    options: options,
  );
  return response;
}