Skip to main content

getmempoolentry

Overview

The ' getmempoolentry ' method allows you to retrieve detailed information about a transaction in the memory pool. The response includes various details such as transaction size, weight, fees, and more.

Request

wget --no-check-certificate --quiet \
--method POST \
--timeout=0 \
--header 'Content-Type: application/json' \
--header 'accept: application/json' \
--header 'X-CoinAPI-Key: 73034021-THIS-IS-SAMPLE-KEY' \
--body-data '{"jsonrpc":"1.0","id":1,"method":"getmempoolentry","params": [ ]}' \
'https://bitcoin-mainnet.node.coinapi.io'

Request Parameters

  • transaction_id (string): The ID of the transaction you want to retrieve information for.

Response

{
"vsize": "numeric",
"weight": "numeric",
"fee": "numeric (DEPRECATED)",
"modifiedfee": "numeric (DEPRECATED)",
"time": "numeric",
"height": "numeric",
"descendantcount": "numeric",
"descendantsize": "numeric",
"descendantfees": "numeric (DEPRECATED)",
"ancestorcount": "numeric",
"ancestorsize": "numeric",
"ancestorfees": "numeric (DEPRECATED)",
"wtxid": "string",
"fees": {
"base": "numeric",
"modified": "numeric",
"ancestor": "numeric",
"descendant": "numeric"
},
"depends": ["string"],
"spentby": ["string"],
"bip125-replaceable": "boolean",
"unbroadcast": "boolean"
}