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

Returns a bare JSON array of chain objects. The response is not wrapped in a data envelope.

[ { "id": "chain_1", "chainId": 1, "name": "Ethereum Mainnet", "symbol": "ETH", "chainType": "evm", "explorerUrl": "https://etherscan.io", "explorerAddressPath": "/address/", "explorerApiUrl": "https://api.etherscan.io", "explorerApiType": "etherscan", "isTestnet": false, "isEnabled": true, "usePrivateMempoolRpc": false }, { "id": "chain_2", "chainId": 11155111, "name": "Sepolia", "symbol": "ETH", "chainType": "evm", "explorerUrl": "https://sepolia.etherscan.io", "explorerAddressPath": "/address/", "explorerApiUrl": "https://api-sepolia.etherscan.io", "explorerApiType": "etherscan", "isTestnet": true, "isEnabled": true, "usePrivateMempoolRpc": false } ]

Response Fields

FieldTypeDescription
idstringInternal chain identifier
chainIdnumberNumeric EVM chain ID (or Solana network ID)
namestringHuman-readable chain name
symbolstringNative token symbol
chainTypestringevm or solana (see below)
explorerUrlstring | nullBlock explorer base URL
explorerAddressPathstring | nullPath segment appended to explorerUrl for address links
explorerApiUrlstring | nullExplorer API base URL for ABI / verification lookups
explorerApiTypestring | nullExplorer API family (e.g. etherscan, blockscout)
isTestnetbooleanWhether this chain is a testnet
isEnabledbooleanWhether the chain is currently available for workflow execution
usePrivateMempoolRpcbooleanWhether KeeperHub routes transactions through a private mempool (Flashbots Protect) by default

RPC endpoint URLs (defaultPrimaryRpc, defaultFallbackRpc) are not returned by this endpoint. They may embed provider API keys and are read server-side only; client code should use the user-configurable RPC preferences API instead.

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

{ "success": true, "abi": [ { "type": "function", "name": "balanceOf", "inputs": [{"name": "account", "type": "address"}], "outputs": [{"name": "", "type": "uint256"}] } ], "explorerUrl": "https://etherscan.io" }