getrawmempool

Back to blockchain

Summary

Returns all transaction ids in memory pool as a json array of string transaction ids.

Description

Returns all transaction ids in memory pool as a json array of string transaction ids.

Hint: use getmempoolentry to fetch a specific transaction from the mempool.

Arguments

  • verbose (BOOL): True for a json object, false for array of transaction ids
  • mempool_sequence (BOOL): If verbose=false, returns a json object with transaction list and mempool sequence number attached.

Results

  • value (ARR): No description.
  • value (STR_HEX): The transaction id
  • value (OBJ_DYN): No description.
  • transactionid (OBJ): No description.

    • vsize (NUM): sigops-adjusted virtual transaction size used for fee and policy checks; qbit does not discount witness data.
    • weight (NUM): transaction weight; qbit fully counts witness data.
    • time (NUM_TIME): local time transaction entered pool in seconds since 1 Jan 1970 GMT
    • height (NUM): block height when transaction entered pool
    • descendantcount (NUM): number of in-mempool descendant transactions (including this one)
    • descendantsize (NUM): virtual transaction size of in-mempool descendants (including this one)
    • ancestorcount (NUM): number of in-mempool ancestor transactions (including this one)
    • ancestorsize (NUM): virtual transaction size of in-mempool ancestors (including this one)
    • wtxid (STR_HEX): hash of serialized transaction, including witness data
    • fees (OBJ): No description.
    • base (STR_AMOUNT): transaction fee, denominated in QBT
    • modified (STR_AMOUNT): transaction fee with fee deltas used for mining priority, denominated in QBT
    • ancestor (STR_AMOUNT): transaction fees of in-mempool ancestors (including this one) with fee deltas used for mining priority, denominated in QBT
    • descendant (STR_AMOUNT): transaction fees of in-mempool descendants (including this one) with fee deltas used for mining priority, denominated in QBT
    • depends (ARR): unconfirmed transactions used as inputs for this transaction
    • transactionid (STR_HEX): parent transaction id
    • spentby (ARR): unconfirmed transactions spending outputs from this transaction
    • transactionid (STR_HEX): child transaction id
    • bip125-replaceable (BOOL): Whether this transaction signals BIP125 replaceability or has an unconfirmed ancestor signaling BIP125 replaceability. (DEPRECATED)

    • unbroadcast (BOOL): Whether this transaction is currently unbroadcast (initial broadcast not yet acknowledged by any peers)

    • value (OBJ): No description.
    • txids (ARR): No description.
    • value (STR_HEX): The transaction id
    • mempool_sequence (NUM): The mempool sequence value.

Examples

qbit-cli getrawmempool true
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "getrawmempool", "params": [true]}' -H 'content-type: application/json' http://127.0.0.1:8352/