mempool/getStatus
Gets (and optionally streams) the status of the mempool
Request Body
{
stream?: boolean
} | undefined
Response
{
size: number
sizeBytes: number
maxSizeBytes: number
evictions: number
headSequence: number
recentlyEvictedCache: {
size: number
maxSize: number
}
}
Example
# Request
curl -X POST http://localhost:8021/mempool/getStatus
# Request (with streaming)
curl -X POST -N http://localhost:8021/mempool/getStatus \
-H 'Content-Type: application/json' \
--data '{
"stream": true
}'
# Response
{
"status": 200,
"data": {
"size": 19,
"sizeBytes": 487869,
"maxSizeBytes": 60000000,
"headSequence": 17556,
"evictions": 0,
"recentlyEvictedCache": {
"size": 0,
"maxSize": 60000,
"saturation": 0
}
}
}