Skip to main content
GET
/
v1
/
blockchains
Get Supported Blockchains
curl --request GET \
  --url https://api.openxswitch.com/v1/blockchains \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "id": 1,
      "name": "Ethereum",
      "symbol": "ETH",
      "decimals": 18,
      "onchain": {
        "protocol": "EVM",
        "chainId": 1
      },
      "nativeCurrency": {
        "name": "Ether",
        "symbol": "ETH",
        "decimals": 18
      },
      "isTestnet": false,
      "standards": [
        "ERC20"
      ],
      "media": {
        "url": "https://cdn.openxswitch.com/public/logos/svg/eth.svg",
        "type": "image/png"
      },
      "blockExplorer": "https://etherscan.io"
    }
  ],
  "totalPage": 123,
  "pageNo": 123,
  "pageLimit": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.openxswitch.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

name
string

Filter by blockchain

Example:

"ethereum"

Response

success
boolean
required
Example:

true

data
object[]
required
totalPage
number
required
pageNo
number
required
pageLimit
number
required