Getrawmempool

getrawmempool

post

Returns all transaction IDs currently in the mempool. If verbose is true, returns a JSON object with detailed mempool entry information for each transaction.

Authorizations
api-keystringRequired
Body
jsonrpcstringRequiredExample: 1.0
idstringRequiredExample: getrawmempool
methodstring · enumRequiredPossible values:
paramsboolean[]Required

Parameters:

  1. verbose (boolean, optional) — If true, return detailed JSON objects instead of txid array. Default: false.
Example: [true]
Responses
chevron-right
200

Mempool transactions retrieved successfully

application/json
resultone ofOptional

If verbose is false, an array of transaction IDs in the mempool. If verbose is true, a JSON object mapping txid to detailed mempool entry data.

string[]Optional

List of transaction IDs (if verbose=false)

or
errorobject · nullableOptional

Null if successful; otherwise error details

idstringOptional

The ID of the request

post
/

Last updated