RPC Mempool commands
mempool/getStatus
Gets (and optionally streams) the status of the mempool
Request
{
stream?: boolean
} | undefined
Response
{
size: number
sizeBytes: number
maxSizeBytes: number
evictions: number
headSequence: number
recentlyEvictedCache: {
size: number
maxSize: number
}
}
mempool/getTransactions
Streams transactions from the mempool
Request
{
limit?: number
feeRate?: MinMax
fee?: MinMax
expiration?: MinMax
expiresIn?: MinMax
position?: MinMax
}
Response
{
serializedTransaction: string
position: number
expiresIn: number
}