Home

Get Count of Transactions in Mempool

POST
https://ont.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the total number of unconfirmed transactions currently held in the node's memory pool, split between transactions that have passed validation and those pending validation.

Body

application/json
jsonrpcstringrequired

The JSON-RPC protocol version. Must be "2.0" per JSON-RPC 2.0 specification.

methodstringrequired

The RPC method name. Must be "getmempooltxcount" for this operation.

paramsarrayrequired

Array of method parameters. This method accepts no parameters, so an empty array is required.

idintegerrequired

Unique client-generated request ID to correlate responses with requests.

Response

200OK

Successful response with mempool transaction counts.