Loading the API documentation
No notifications.
Language
English
No other language is available yet.
Loading the API documentation
/v1/markets/listedMarkets created through the chain's listing contract
Every MarketListed event of the listing contract (LISTING_MANAGER), oldest market id first, with each listed token's own symbol() and decimals(). Listing is open to anyone who pays the fee, so a symbol is what the token says about itself, not a verified name: show the address with it, and prefer your own name for addresses you know. A symbol that is not a plain ticker (1 to 16 of A-Z, a-z, 0-9, ".", "_", "-") is null. The native coin is the zero address (native: true). initialPrice and tickSize are in quote per base; listingFee is in the native coin. A listed market is not necessarily tradeable on this exchange: tradeable pairs are the ones in /v1/markets/pairs. The server scans new blocks in the background about every 30 seconds (scannedToBlock, updatedAt); requests never wait on the chain. After each scan it re-reads the live state of every listing: the listing contract's listingStatus, and through the Spot Facade (LISTING_SPOT_FACADE) the ENGINE market opened for it (engineMarketId, engineTerms) or, while none is open, canOpen. marketId is the LISTING id and engineMarketId the ENGINE market id: they are different numbers (listing 1 can be engine market 2), and orders go to the engine id. open is true when the listing is ACTIVE and its engine market exists. Without the facade setting engineChecked is false and the engine fields are null. The facade is used only when its LISTING_MANAGER() is our listing contract (spotFacade is null otherwise). Facade reads happen only for ACTIVE listings; at most 200 listings are read per cycle in turn. A failed read keeps the last state, and a state older than 300 seconds is served as unknown (stateUpdatedAt null).
No parameters.
| Status | Meaning | Body |
|---|---|---|
| 200 | OK | ListedMarketsResponse |
| 503 | No listing contract configured (code | Error |
curl -s 'https://exchange.zethareum.com/v1/markets/listed'