Settings
GET
network request returns current application network (mainnet
or testnet
).
curl -X 'GET' \
'https://api.etaswap.com/v1/settings/network' \
-H 'accept: application/json'
Response example:
{
"network": "mainnet"
}
GET
tokens request returns list of tokens, supported by EtaSwap (in EVM format).
curl -X 'GET' \
'https://api.etaswap.com/v1/settings/tokens' \
-H 'accept: application/json'
Response example:
[
"0x000000000000000000000000000000000001f385",
"0x00000000000000000000000000000000000244da",
"0x00000000000000000000000000000000000331d8",
"0x000000000000000000000000000000000006f89a",
"0x0000000000000000000000000000000000083e9e",
"0x000000000000000000000000000000000008437c",
"0x0000000000000000000000000000000000098779",
]
Last updated