Supported Chains

To get the list of the chains supported by Aarc SDK

The getSupportedChains function provides a comprehensive list of all supported chains, facilitating developers in planning and developing applications that are compatible across multiple blockchain environments.

Function Call

let supportedChains = await aarcSDK.getSupportedChains();

Response

The response from the getSupportedChains will be:

{
    "success": boolean,
    "result": [
        {
            "chainId": number,
            "name": string,
            "isL1": boolean,
            "sendingEnabled": boolean,
            "icon": string,
            "receivingEnabled": boolean,
            "refuel": {
              "sendingEnabled": boolean,
              "receivingEnabled": boolean
            };
            "currency": {
              "address": string,
              "icon": string,
              "name": string,
              "symbol":: string,
              "decimals": number,
              "minNativeCurrencyForGas": string
            },
            "rpcs": [
              string
            ],
            "explorers": [
              string
            ]
        }
    ]
}

Support

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

Last updated