Mempool to JSON

Synopsis

Declared in <rpc/mempool.h>

UniValue
MempoolToJSON(
    CTxMemPool const& pool,
    bool verbose = false,
    bool include_mempool_sequence = false);

Return Value

A JSON representation of the mempool contents.

Parameters

Name

Description

pool

The mempool to serialize.

verbose

If true, include detailed per‐transaction entries.

include_mempool_sequence

If true, include the mempool sequence number.

Created with MrDocs