NetworksRelease VersioningOffline transaction signingGlossary
Hardfork Update Process

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.

Learn

  • Get Started
  • FAQ
  • Whitepaper
  • Tokenomics

Use

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

Developers

  • Documentation
  • Github

Community

  • Foundation
  • Governance
  • Grants
  • Our Community

Company

  • About Us
  • Media Kit
  • Contact Us
Privacy Policy

|

Copyright 2024 Iron Fish.