GET /widget-tokens
Retrieve all supported tokens on Native
GET https://newapi.native.org/v1/widget-tokens
This endpoint provides a list of default tokens supported by Native. Note that even if a token pair is not listed in this API response, it may still be supported as Native aggregates liquidity from various DEXs and aggregators.
Headers
apiKey
API Key retrieved from the Native app
Params
chain
*
Blockchain name - Refer to the GET /chains
API here for more information
Example
https://newapi.native.org/v1/widget-tokens?chain=ethereum
Response
Type: Array of widget token objects
id
The unique identifier for the token
chain
The blockchain value that will be used for Native's API request
address
The address of the ERC20 contract
symbol
The symbol of the token
decimals
The number of decimals for the token
name
The name of the token
logo
The image url of the token
desc
Description (if any) about the token
featured
Whether this token is featured on the Native widget
is_supported
Whether this token is currently supported by Native liquidity
stablecoin
Indicates whether this is a stable coin
major
Indicates whether this is a major token. Example: ETH, BTC, BNB
Example
[
{
"id": 1057,
"chain": "ethereum",
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"symbol": "ETH",
"decimals": 18,
"name": "Ether",
"logo": "https://static.native.org/ETH.png",
"desc": null,
"featured": false,
"is_supported": true,
"stablecoin": false,
"major": true
},
{
"id": 1054,
"chain": "ethereum",
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"symbol": "USDT",
"decimals": 6,
"name": "Tether",
"logo": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xdAC17F958D2ee523a2206206994597C13D831ec7/logo.png",
"desc": null,
"featured": false,
"is_supported": true,
"stablecoin": true,
"major": null
},
]
Explore this endpoint and see how it works here.
Last updated