getrawmempool

The getrawmempool RPC method provides information on the transactions currently in the memory pool. This method is useful for getting details about unconfirmed transactions that have not yet been included in a block.


Parameters

parameter
type
description
verbose
boolean
Set to true to receive a detailed JSON object for each transaction in the memory pool. Set to false to receive a simple array of transaction IDs. Example: verbose: true
Return Object

The return object will depend on the value of the verbose parameter.

If verbose is false, the method will return an array of transaction IDs.

If verbose is true, the method will return an object with transaction IDs as keys and detailed transaction information as values.

Fields (when verbose is true):

field
description
size
The transaction size in bytes.
fee
The transaction fee in BTC.
modifiedfee
The transaction fee with descendants in BTC.
time
The local time when the transaction entered the memory pool.
height
The block height when the transaction entered the memory pool.
descendantcount
The number of descendant transactions in the memory pool.
descendantsize
The total size of all descendant transactions in the memory pool, in bytes.
descendantfees
The total fees of all descendant transactions in the memory pool, in satoshis.
ancestorcount
The number of ancestor transactions in the memory pool.
ancestorsize
The total size of all ancestor transactions in the memory pool, in bytes.
ancestorfees
The total fees of all ancestor transactions in the memory pool, in satoshis.
wtxid
The transaction witness ID.
depends
An array of unconfirmed transactions that this transaction depends on.
Request Example
Bitcoin Get Raw Mempool Request

Share on
Share on FacebookShare on XShare on LinkedIn
Did you find this page useful?