Chains

Returns list of chains supported by Socket APIs

/v2/supported/chains

How this endpoint is to be used :

  • List of sending chain options and destination chain options is to be populated using this endpoint. For reference, check out the Bungee App

API-KEY needs to be passed in the headers while making the GET request

Returns list of chains supported

GET https://api.socket.tech/v2/supported/chains

{
  "success": true,
  "result": [
    {
      "chainId": 137,
      "name": "string",
      "icon": "string",
      "isL1": false,
      "sendingEnabled": true,
      "receivingEnabled": true,
      "currency": {
        "address": "string",
        "icon": "string",
        "name": "string",
        "symbol": "string",
        "decimals": 18,
        "minNativeCurrencyForGas": "string"
      },
      "rpcs": [
        "string"
      ],
      "explorers": [
        "string"
      ]
    }
  ]
}

Note : If sendingEnabled parameter is false,the chain isn't supported on the sending side. Hence, it needs to be excluded as an option on the Sending Chain selection list.

Note : If receivingEnabled parameter is false,the chain isn't supported on the receiving side. Hence, it needs to be excluded as an option on the Receiving/Destination Chain selection list.

Description of response parameters

Test your query on the Socket Swagger interface : https://api.socket.tech/v2/swagger/#/Supported/SupportedController_getAllSupportedRoutes

Last updated