Supported Tokens

To check the tokens supported on a particular chain id.

The getSupportedTokens function in our SDK provides a utility for determining all the cryptocurrency tokens supported on a specific blockchain.

Expected parameters:

getSupportedTokens accepts the following parameters:

  • chainId: The chain id of the network

Function Call

let supportedTokens = await aarcCoreSDK.getSupportedTokens(
    137 // Chain id of the network
)

Response

The response from the getSupportedTokens will be:

{
    "success": boolean,
    "result": [
        {
            "chainId": number,
            "address": string,
            "name": string,
            "symbol": string,
            "decimals": number,
            "logoURI": string
        }
    ]
}   

Support

If you face any trouble, feel free to reach out to our engineers in the Telegram support group.

Last updated