/api/mempool/*
GET /api/mempool/
All pending (un-mined) txs.
curl https://api.ombra-net.com/api/mempool/
Response:
{
"total": 3,
"pending": [
{ "type": "TRANSFER", "from": "...", "to": "...", "amount": "1000000", "hash": "..." }
]
}
GET /api/mempool/events
SSE snapshot of mempool size (3s cadence).
curl -N https://api.ombra-net.com/api/mempool/events
Stream format:
event: hello
data: {"total": 3}
event: snapshot
data: {"total": 5, "ts": 1735389945000}
event: snapshot
data: {"total": 2, "ts": 1735389948000}
Use for live mempool counters in UI.