LarzChain node API
Every node is an HTTP/JSON server โ query the chain, submit transactions, check health.
A LarzChain node exposes a plain HTTP/JSON API. Point these at a node you run (http://127.0.0.1:9333) or a public one (https://larzos.com/larzchain/rpc). No keys, no SDK.
Read endpoints (GET)
| /info | height, tip, work, supply, mempool, peers, network id, version |
| /health | ok, version, height, peers, uptime, error count, update-available |
| /metrics | Prometheus-format counters (larzchain_*) |
| /blocks?from=N | full blocks from height N |
| /headers?from=N | block headers from height N |
| /block/<hash> | one block by hash |
| /balance/<addr> | confirmed balance of an address |
| /utxos/<addr> | unspent outputs for an address |
| /history/<addr> | recent receive history |
| /mempool | pending transactions |
| /peers | known peer URLs |
| /faucet/<addr> | testnet coins (rate-limited) |
Write endpoints (POST)
| /tx | relay a transaction (enveloped JSON) |
| /block | relay a block (enveloped JSON) |
| /hello | peer handshake โ advertise your public URL, get peers |
Examples
# chain tip + supply
curl https://larzos.com/larzchain/rpc/info
# an address balance
curl https://larzos.com/larzchain/rpc/balance/L...
# node health (for monitoring)
curl https://larzos.com/larzchain/rpc/healthGossip messages carry an envelope {network_id, genesis, version, data}; a mismatched network/genesis is rejected with 409. Full protocol: docs/NETWORK.md. See it live in the block explorer.
FAQ
No. The node API is open and keyless โ it serves public blockchain data. Rate limits protect write endpoints from spam.
Yes โ that's the point of the documented wire protocol (docs/NETWORK.md). The endpoints are stable HTTP/JSON, so any language works.
Write endpoints (/tx, /block, /hello) are rate-limited per IP and bodies are capped, to keep public nodes healthy. Reads are open.