Skip to content
KernelFlowDevelopers v1
List chains
Swap & Bridge/API reference
KERNELFLOW / DEVELOPERS

List chains

Discover the enabled networks and their native token identifiers.

GET/v1/chainsPublic

No API key is needed. Use data.chains[].name exactly as returned, including its case, in quote and order requests. Provider and route availability remain dependent on the requested trade.

Request
curl --silent --show-error https://api.kernelflow.org/v1/chains
Response · one entry shown
{
  "code": 0,
  "msg": "success",
  "data": {
    "chains": [
      {
        "name": "BNB",
        "fullName": "BNB Chain",
        "chainId": 56,
        "nativeToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"
      }
    ]
  }
}
FieldTypeMeaning
namestringCase-sensitive API chain name.
fullNamestringDisplay name.
chainIdinteger · optionalEVM chain ID; omitted on SOL and TRX.
nativeTokenstringIdentifier to use for the chain’s gas coin.

Current chain support

NameNetworkChain IDExecution mode
ETHEthereum1Contract
BNBBNB Chain56Contract
BASEBase8453Contract
AVAXCAvalanche C-Chain43114Contract
XLAYERX Layer196Contract · same-chain only
ROBINHOODRobinhood Chain4663Contract
SOLSolana—Direct
TRXTRON—Direct · quotes only

Native token identifiers

FamilyIdentifier
EVM0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Solana11111111111111111111111111111111
TRONT9yD14Nj9j7xAB4dbGeiX9h8unkKHxuWwb

Current limitations

  1. TRX: quotes are available, but order submission currently returns code 2002.
  2. XLAYER: same-chain routes are available; cross-chain trades to or from XLAYER currently return no route (3000).
  3. SOL: fromAddress is the fee payer. There is no fee-payer override or gas-sponsorship parameter.