/chain
Returns all the tokens supported by Socket on specified chain
/v2/token-lists/chain
How this endpoint is to be used :
Returns all the tokens supported by Socket on specified chain
Returns list of all supported tokens on specified chain
GET
https://api.socket.tech/v2/token-lists/chain
Query Parameters
Name | Type | Description |
---|---|---|
chainId* | string | ID of chain, e.g : Ethereum = 1 |
isShortList | boolean | Returns a shorter token list with most bridged tokens |
API-KEY needs to be passed in the headers while making the GET
request
Description of response parameters
Parameter | Description |
---|---|
| Indicates successful response from endpoint, as intended. |
| Name of token |
| Contract address of token |
| ID of chain, for e.g : Ethereum = 1 |
| Decimals for amount supported by a given token |
| Symbol of token |
| URL to icon of token |
TEST QUERY :
https://api.socket.tech/v2/swagger/#/Token%20Lists/TokenListController_getTokenListByChain
Last updated