LarzChain › LarzChain node API
Developers

LarzChain node API

Every node is an HTTP/JSON server โ€” query the chain, submit transactions, check health.

โš ๏ธ Experimental testnet. LARZ is not an investment, has no promise of value, and may be worth nothing. There is no sale โ€” coins exist only by mining. Nothing here is financial advice.

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)

/infoheight, tip, work, supply, mempool, peers, network id, version
/healthok, version, height, peers, uptime, error count, update-available
/metricsPrometheus-format counters (larzchain_*)
/blocks?from=Nfull blocks from height N
/headers?from=Nblock 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
/mempoolpending transactions
/peersknown peer URLs
/faucet/<addr>testnet coins (rate-limited)

Write endpoints (POST)

/txrelay a transaction (enveloped JSON)
/blockrelay a block (enveloped JSON)
/hellopeer 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/health

Gossip 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

Do I need an API key?

No. The node API is open and keyless โ€” it serves public blockchain data. Rate limits protect write endpoints from spam.

Can I build my own node or explorer on it?

Yes โ€” that's the point of the documented wire protocol (docs/NETWORK.md). The endpoints are stable HTTP/JSON, so any language works.

Is there a rate limit?

Write endpoints (/tx, /block, /hello) are rate-limited per IP and bodies are capped, to keep public nodes healthy. Reads are open.

Block explorerRun a nodeJoin the testnetWire protocol