Hanzo AI
OpenapiMarket

List chains

Answers every chain this deployment can read, what is deployed on each, and what its automated market maker amounts to. One call.

GET /v1/market/chains

Addresshttps://api.hanzo.ai/v1/market/chains
MethodGET
Operationget_market_chains
AuthAuthorization: Bearer $HANZO_API_KEY

Answers every chain this deployment can read, what is deployed on each, and what its automated market maker amounts to.

One call. It reads the chain registry, then every chain's indexer for its figures and its most recent active day, all at once — where a client doing it itself makes one registry request and two more per chain.

THE ROW IS THE UNIT OF TRUTH. Each carries its own reach, so one indexer being unreachable costs one row its figures and leaves the rest answered. A chain with no market maker deployed — the registry names no factory for it — answers read with totals of nothing, which is a fact about that chain and is not the same as a chain nobody could ask.

Request

GET /v1/market/chains takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200market.Rosterok
defaultproblem-detailsrefused

200 body — 31 fields.

FieldInTypeAlwaysDescription
chainsbodymarket.Market[]Chains is [] where the registry answered and named none, and null where it did not answer — never absent, because a missing key and an empty list read…
chains[].ammbodybooleanAmm reports whether an automated market maker is deployed on this chain, which is the registry's factory addresses being present and not the indexer having…
chains[].coinbodystring
chains[].daybodymarket.Day
chains[].day.closebodystring
chains[].day.countbodyinteger (int64)Count is transactions in the day, where the table keeps one.
chains[].day.datebodyinteger (int64)Date is the day's start, unix seconds.
chains[].day.highbodystring
chains[].day.lockedbodystring
chains[].day.lowbodystring
chains[].day.openbodystring
chains[].day.pricebodystring
chains[].day.volumebodystring
chains[].factorybodyobjectFactory is the AMM's factory contracts, by generation, omitted where none is deployed.
chains[].factory.*bodystring
chains[].figuresbodymarket.Figures
chains[].figures.countbodyinteger (int64)
chains[].figures.lockedbodystring
chains[].figures.poolsbodyinteger (int64)
chains[].figures.volumebodystring
chains[].graphbodystringGraph is where this chain's indexer answers, empty where it has none.
chains[].idbodyinteger (int64)ID is the EVM chain id, which is what a wallet must agree with.
chains[].namebodystring
chains[].reachbodymarket.Reach
chains[].reach.atbodystringAt is read, unconfigured, unreachable or refused.
chains[].reach.whybodystringWhy is the upstream's own words, on Unreachable and Refused, and empty otherwise.
chains[].rpcbodystringRPC is the chain's PUBLIC JSON-RPC, empty where the registry names only a route this process happens to have.
chains[].slugbodystringSlug is the chain's word in every indexer path — cchain, zoo.
reachbodymarket.Reach
reach.atbodystringAt is read, unconfigured, unreachable or refused.
reach.whybodystringWhy is the upstream's own words, on Unreachable and Refused, and empty otherwise.

Failure carries the platform error shape — see Errors.

Examples

hanzo market chains

Market API · All Hanzo APIs · Interactive reference

How is this guide?

On this page