GET /chains

Get all the chain supported by Native

GET https://newapi.native.org/v1/chains

Almost all the Native API request requires you to include the chain name. This endpoint returns the list of blockchain names used across Native services.

Headers

NameDescription

apiKey

API Key retrieved from the Native app.

Response

Type: Array of chains

NameDescription

chainId

The unique identifier that identifies the blockchain.

chain

The blockchain name that will be used for Native's API request.

label

The string label for the blockchain.

token

The symbol of the native token for the blockchain.

isMainnet

Indicates whether this chain is mainnet or not.

Example response:

[
    {
        "chainId": 56,
        "chain": "bsc",
        "label": "Binance",
        "token": "BNB",
        "isMainnet": true
    },
    {
        "chainId": 1,
        "chain": "ethereum",
        "label": "Ethereum",
        "token": "ETH",
        "isMainnet": true
    },
    {
        "chainId": 137,
        "chain": "polygon",
        "label": "Polygon",
        "token": "MATIC",
        "isMainnet": true
    },
    {
        "chainId": 42161,
        "chain": "arbitrum",
        "label": "Arbitrum",
        "token": "ETH",
        "isMainnet": true
    },
    {
        "chainId": 43114,
        "chain": "avalanche",
        "label": "Avalance",
        "token": "AVAX",
        "isMainnet": true
    }
]

Note that we will be using chain value as a param to request other APIs if required.

You may try this endpoint out here.

Last updated