Developer docs

BonGreenhouse

An HTTP bridge from your code to the Chia blockchain. Read the chain, decode addresses, inspect offers — without running a node yourself.

Quickstart

Every endpoint lives under /api/v1. No account, no header, no key required during development.

First request

Three calls, all anonymous

Paste a Chia address, walk it from xch1… to a puzzle hash to a list of its coins. Each step shows the HTTP call and a button that runs the same logic through this app's DI graph.

Potted plants lined up on a greenhouse bench
  1. 1. Check the node is reachable

    This is the cheapest call you can make. If the network name comes back, the API is up and the local Chia node is responding.

    curl https://your-host/api/v1/node/status
  2. 2. Decode an address

    Convert a xch1… address into its 32-byte puzzle hash. Pure CPU, no node round-trip.

    curl -X POST https://your-host/api/v1/address/decode \
      -H "Content-Type: application/json" \
      -d '{"address":"xch1..."}'
  3. 3. Look up its coins

    Now ask the node for coin records at that puzzle hash. The button is enabled once step 2 succeeds.

    curl "https://your-host/api/v1/coins/by-puzzle-hash/{puzzleHash}?limit=10"

What the API does not do

BonGreenhouse never exposes endpoints that move funds. There is no send, no offer creation, no sweep, no key derivation. Those operations live in the CLI and stay there. See CLAUDE.md for the full tiering.

An unhandled error has occurred. Reload 🗙