Skip to Content
APIChains

Chains API

Access supported blockchain networks and contract information.

List Chains

GET /api/chains

Returns all supported blockchain networks.

Query Parameters

ParameterTypeDescription
includeDisabledbooleanInclude disabled chains (default: false)

Response

{ "data": [ { "id": "chain_1", "chainId": 1, "name": "Ethereum Mainnet", "symbol": "ETH", "chainType": "evm", "defaultPrimaryRpc": "https://...", "defaultFallbackRpc": "https://...", "explorerUrl": "https://etherscan.io", "explorerApiUrl": "https://api.etherscan.io", "isTestnet": false, "isEnabled": true }, { "id": "chain_2", "chainId": 11155111, "name": "Sepolia", "symbol": "ETH", "chainType": "evm", "isTestnet": true, "isEnabled": true } ] }

Chain Types

TypeDescription
evmEthereum Virtual Machine compatible
solanaSolana network

Chain Identifiers

KeeperHub action and execute endpoints accept either of two equivalent fields for selecting the target chain:

  • chainId (canonical): the numeric chain ID. Send a number or a stringified number. Examples: 1, 8453, 11155111.
  • network (deprecated alias): same field, retained for backward compatibility. In addition to numeric chain IDs, it resolves the common chain names below.

Prefer chainId in new clients. Both fields produce identical behavior; passing both is treated as chainId winning.

Accepted Chain Names

These string aliases are normalized to the numeric chain ID before routing. Names are case-insensitive.

Name aliaseschainIdNetwork
mainnet, ethereum, eth-mainnet, ethereum-mainnet1Ethereum Mainnet
sepolia, eth-sepolia, sepolia-testnet11155111Ethereum Sepolia
base, base-mainnet8453Base
base-sepolia, base-testnet84532Base Sepolia
tempo, tempo-mainnet4217Tempo
tempo-testnet42431Tempo Testnet
solana, solana-mainnet101Solana
solana-devnet, solana-testnet103Solana Devnet

Numeric chain IDs (as number or string) are accepted on every chain, including any chain present in GET /api/chains that does not appear in the alias table above.

Fetch Contract ABI

GET /api/chains/{chainId}/abi?address={contractAddress}

Fetches the ABI for a verified contract from the block explorer. The {chainId} path parameter is the numeric chain ID (e.g., 1, 8453, 11155111), not a chain name and not the internal id field from GET /api/chains.

Query Parameters

ParameterTypeDescription
addressstringContract address (required)

Response

{ "abi": [ { "type": "function", "name": "balanceOf", "inputs": [{"name": "account", "type": "address"}], "outputs": [{"name": "", "type": "uint256"}] } ] }

Alternative ABI Fetch

GET /api/web3/fetch-abi?address={address}&chainId={chainId}

Alternative endpoint for fetching contract ABIs.