List networks and tokens
GET/api/v2/general/network-and-tokens
Every network TeleSwap supports and every token on it. Each token pairs with BTC; read the directions a token goes from the token and its network:
- BTC → token is open while the token's
wrapRoutehasstatus: Active, and token → BTC while itsunwrapRoutedoes. On anintermediarynetwork that is all a route holds; on acrossChainorcrossChainDirectnetwork one of itsintermediaryChainsmust beActivetoo; - a native coin (
isNative) has no route of its own: it goes where the network's wrapped native token (contracts.wrappedNative) goes. Omit the token address when you quote or build a request for it; hiddentokens are routed but not meant to be listed.
Build unwraps with the /api/v3 endpoints and use the method and ABI each response
returns rather than a fixed one.
The response carries an ETag; send it back in If-None-Match to get 304 when
nothing has changed. It replaces GET /api/v1/general/network-and-tokens, which is
deprecated.
Responses
- 200
- 304
Networks and tokens
Not modified since the ETag sent in If-None-Match