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
    }
  }
}


View on Github

Join our newsletter and stay up to date with privacy and crypto.

Discover our impactful presence — read our blog.

Use

  • Node App
  • Node CLI
  • Mine
  • Block Explorer
  • Ecosystem

Learn

  • Get Started
  • FAQ
  • Whitepaper
  • Tokenomics

Community

  • Foundation
  • Governance
  • Grants
  • Our Community

Developers

  • Documentation
  • Github
Privacy Policy

|

Media Kit

|

Copyright 2024 Iron Fish.