Native Documentation
  • introduction
    • What is Native
    • About Native V2
    • Benefits for Key Players
  • SOLUTION
    • Native Credit Pool
    • Native Swap Engine
  • CONCEPTS
    • Orderbook
    • Firm Quote Orders
    • Auto Sign Orders
    • Swap Fees
    • Slippage
    • Base and Listed Assets
    • Single-Sided Liquidity Pools
    • Total Available Liquidity
    • Liquidity Pairing
    • Liquidity Bootstrapping
    • Health Ratio
    • Earning Fees and Incentives
    • Credit-Based Swap
      • Collateral Factor
      • PMM Credit
      • Settlement and Liquidation
    • Market-Responsive Pricing
    • Risks
  • USER GUIDE
    • Add Liquidity
    • Pair Liquidity
    • Claim Rewards
    • Swap with Native
  • Build with Native
    • Swap Aggregators
      • Guide
      • FirmQuote Swap APIs
        • GET Orderbook
        • GET Indicative quote
        • GET Firm quote
    • Asset Issuers
      • For Pegged Assets
      • For General Assets
  • Resources
    • Addresses
    • Audits
    • Github
    • System Status
    • Business Source License
    • Media Kit
Powered by GitBook
On this page
  • Headers
  • Response
  1. Build with Native
  2. Swap Aggregators
  3. FirmQuote Swap APIs
  4. Old docs

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

Name
Description

apiKey

API Key retrieved from the Native app

Response

Type: Array of chains

Name
Description

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.

Last updated 10 months ago

Explore this endpoint and see how it works .

here