List supported chains and tokens
curl --request GET \
--url https://api.example.com/chains \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/chains"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/chains', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"chains": [
{
"chain": "<string>",
"name": "<string>",
"settlement": true,
"tokens": [
{
"symbol": "<string>",
"decimals": 123,
"native": true,
"address": "<string>",
"account": "USDC"
}
],
"chainId": 123
}
]
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": {}
}
}Catalog
List supported chains and tokens
Every chain and token this API names, with the contract address and decimals of each token. settlement marks the chain accounts hold their balance on and the tokens a payout can be funded with.
GET
/
chains
List supported chains and tokens
curl --request GET \
--url https://api.example.com/chains \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/chains"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/chains', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"chains": [
{
"chain": "<string>",
"name": "<string>",
"settlement": true,
"tokens": [
{
"symbol": "<string>",
"decimals": 123,
"native": true,
"address": "<string>",
"account": "USDC"
}
],
"chainId": 123
}
]
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": {}
}
}Was this page helpful?