NestJS REST API for FiroBlocks — a block explorer for the Firo network. Currently provides endpoints for blocks, transactions, addresses, and network stats via direct firod RPC with MongoDB TTL caching.
- Node.js 24
- MongoDB 8
- A fully synced firod node with the following indexes enabled in
firo.conf:
txindex=1
addressindex=1
spentindex=1
timestampindex=1
cp .env.example .env
yarn --frozen
yarn dev| Variable | Description |
|---|---|
PORT |
Application Port |
FIRO_RPC_HOST |
firod RPC host |
FIRO_RPC_PORT |
firod RPC port |
FIRO_RPC_USER |
firod RPC username |
FIRO_RPC_PASS |
firod RPC password |
MONGO_URI |
MongoDB connection string |
Swagger docs are available at /v1/docs when running locally, or publicly at https://api.firoblocks.app/docs.
- Chat: #general:nexusocean.org
- Matrix client: element.nexusocean.org