POSTgetmempoolentry

Bitcoin Mainnethttps://bitcoin-mainnet.nodit.io/

Returns the detailed mempool data for a transaction in the mempool. It includes the fees, the ancestor and descendant data, and the BIP 125 replaceability signal.

Request Body
idintegerrequired
jsonrpcstringrequired
methodstringrequired
paramsoneOf[]required

It contains following parameter:

  1. txid: The transaction id, as a string. (required, must be in the mempool)
params[0]string

The transaction id. The transaction must be in the mempool.

Responses
vsizeinteger

The virtual transaction size as defined in BIP 141.

weightinteger

The transaction weight as defined in BIP 141.

timeinteger

The local time the transaction entered the pool, expressed in UNIX epoch time.

heightinteger

The block height when the transaction entered the pool.

descendantcountinteger

The number of in-mempool descendant transactions, including this one.

descendantsizeinteger

The total virtual size of in-mempool descendants, including this one.

ancestorcountinteger

The number of in-mempool ancestor transactions, including this one.

ancestorsizeinteger

The total virtual size of in-mempool ancestors, including this one.

wtxidstring

The hash of the serialized transaction, including witness data.

basenumber

The transaction fee.

modifiednumber

The transaction fee with fee deltas used for mining priority.

ancestornumber

The transaction fees of in-mempool ancestors with fee deltas used for mining priority.

descendantnumber

The transaction fees of in-mempool descendants with fee deltas used for mining priority.

dependsstring[]

The list of unconfirmed parent transaction ids used as inputs for this transaction.

spentbystring[]

The list of unconfirmed child transaction ids spending outputs from this transaction.

bip125-replaceableboolean

Whether this transaction signals BIP 125 replaceability. This field is deprecated.

unbroadcastboolean

Whether this transaction is currently unbroadcast.

X-API-KEY
RequestCU20
cURL
curl -X POST "https://bitcoin-mainnet.nodit.io/" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "getmempoolentry",
  "params": [
    "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b"
  ]
}'
Response
Example · 200
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "vsize": 141,
    "weight": 561,
    "time": 1701388800,
    "height": 920000,
    "descendantcount": 1,
    "descendantsize": 141,
    "ancestorcount": 1,
    "ancestorsize": 141,
    "wtxid": "9b0fc92260312ce44e74ef369f5c66bbb85848f2eddd5a7a1cde251e54ccfdd5",
    "fees": {
      "base": 0.00002538,
      "modified": 0.00002538,
      "ancestor": 0.00002538,
      "descendant": 0.00002538
    },
    "depends": [],
    "spentby": [],
    "bip125-replaceable": false,
    "unbroadcast": false
  }
}