getmempoolentry
The getmempoolentry RPC method allows you to retrieve information about a specific transaction in the memory pool. This method is useful for tracking the status of unconfirmed transactions and for gathering additional details about their current state.
Parameters
parameter | description |
|---|---|
txid | The transaction ID of the transaction you want to retrieve information about. |
Return Object
The return object will be an object containing information about the specified transaction.
field | description |
|---|---|
size | The transaction size in bytes. |
fee | The transaction fee in BTC. |
modifiedfee | The transaction fee with fee deltas used for mining priority. |
time | The local time the transaction entered the memory pool. |
height | The block height when the transaction entered the memory pool. |
descendantcount | The number of descendant transactions. |
descendantsize | The virtual transaction size of all descendant transactions combined. |
descendantfees | The total fees of all descendant transactions. |
ancestorcount | The number of ancestor transactions. |
ancestorsize | The virtual transaction size of all ancestor transactions combined. |
ancestorfees | The total fees of all ancestor transactions. |
wtxid | The witness transaction ID of the transaction. |
depends | An array containing the witness transaction IDs of the transactions this transaction depends on. |
spentby | An array containing the witness transaction IDs of the transactions that spend this transaction. |
bip125-replaceable | Whether the transaction is BIP125 replaceable. Possible values are 'yes', 'no', or 'unknown'. |
Request Example
Bitcoin Get Mempool Entry Request