Public docs
WebsiteTAAL PlatformWhatsOnChain
  • Welcome
  • Introduction
    • Get an API Key
  • Core Products
    • WhatsOnChain
      • Health
      • Chain Info
      • Block
      • Transaction
      • Mempool
      • (Un)Spent Transaction Outputs
      • Address
      • Script
      • Exchange Rate
      • Search
      • WoC Widgets
      • WoC Plugins
      • On-Chain Data
      • Output Tags
      • Stats
      • WebSockets
        • WoC Sockets V1 (Deprecated)
        • WoC Sockets V2 (Beta)
      • Tokens
        • 1Sat Ordinals (Beta)
        • BSV-21 (Beta)
        • STAS Tokens (Beta)
      • Change Log
      • Community Libraries
    • Transaction Processing
      • ARC Endpoints
      • Transaction format and fee rate
    • TAAL Wallet
      • Introduction
      • Architecture
      • Terminology
      • UI Elements
      • Tutorial
    • 1Sat Ordinals tokens API
      • Introduction
      • Terminology
      • Flow Diagram
      • Basic Tutorial - Node
      • Basic Tutorial - Postman
      • API
  • Resources
    • FAQ
    • Support
    • Glossary
    • Acronyms and Abbreviations
Powered by GitBook
On this page
  • Get Mempool Info
  • Get Mempool Transactions

Was this helpful?

Export as PDF
  1. Core Products
  2. WhatsOnChain

Mempool

Get Mempool Info

This endpoint retrieves various information about the node's mempool, for the selected network.

HTTP Request
GET https://api.whatsonchain.com/v1/bsv/<network>/mempool/info
cURL
curl --location --request GET "https://api.whatsonchain.com/v1/bsv/main/mempool/info"
Response JSON structure
{
    "bytes": 444832,
    "maxmempool": 8196000000,
    "mempoolminfee": 0,
    "size": 142,
    "usage": 647072
}

URL Parameters

Parameter
Description

network

The selected network: main or test.

Get Mempool Transactions

This endpoint retrieves a list of txIds from the node's mempool, for the selected network.

HTTP Request
GET https://api.whatsonchain.com/v1/bsv/<network>/mempool/raw
cURL
curl --location --request GET "https://api.whatsonchain.com/v1/bsv/main/mempool/raw"
Response JSON structure
[
    "0b0911bcb1f762634ed3ee171694d68049420c730296a7a592b29d46919c7739", 
    "195c95162a7f73f2ff9d4a5d8894f63ec44712b3b69fe1c3e53464048c6a39e3",
    ...
]

URL Parameters

Parameter
Description

network

The selected network: main or test.

PreviousTransactionNext(Un)Spent Transaction Outputs

Last updated 6 months ago

Was this helpful?