GET /chains

Retrieve all supported chains on Native

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

Almost all Native API requests require specifying the chain name. This endpoint retrieves a list of blockchain networks supported by Native.

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 on Mainnet

Example

[
    {
        "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: The chain value will be used as a parameter in other API requests if required.

Explore this endpoint and see how it works here.

Last updated