Skip to content
Docs

Overview

What the Ledger API is

Token registry reads and project transaction records at ledger.gray3.io—separate from the Cloud data plane.

Overview

The Gray3 Ledger API is an HTTPS API for a token registry and off-chain transaction records scoped to your project. Apps read tokens and create and update their own send history. The Gray3 Cloud API updates the same records when you broadcast with a ledgerTxId, so your support tools and UI stay aligned.

Host for examples in this guide: https://ledger.gray3.io. Product routes live under /v1/.

Two surfaces

  • Tokens — shared metadata (symbol, decimals, logo, verified flag) keyed by chain and address. Apps list and get them. The registry is managed by Gray3 and cannot be modified with a project key.
  • Transactions — rows your project owns: kind, addresses, status, optional hash and receipt. Create before or after signing; patch as the send progresses.

Not a chain indexer

Ledger does not replace on-chain activity feeds. For indexer history use Cloud activity. Ledger rows are what your product chose to record—support tickets, in-app history, reconciliation with broadcast.

Health

GET /health needs no credentials. Use it for probes, not product data.

bash
curl -sS "https://ledger.gray3.io/health"
json
{
  "data": {
    "ok": true
  }
}