Skip to main content
GET
/
v1
/
utils
/
chains
List supported chains
curl --request GET \
  --url https://api.swiftpay.finance/v1/utils/chains
{
  "success": true,
  "data": [
    {
      "id": "ethereum",
      "name": "Ethereum",
      "type": "evm",
      "chainId": 1,
      "nativeCurrency": "ETH",
      "blockTimeSeconds": 12,
      "confirmationBlocks": 12,
      "explorerUrl": "https://etherscan.io",
      "isTestnet": false
    },
    {
      "id": "polygon",
      "name": "Polygon",
      "type": "evm",
      "chainId": 137,
      "nativeCurrency": "MATIC",
      "blockTimeSeconds": 2,
      "confirmationBlocks": 20,
      "explorerUrl": "https://polygonscan.com",
      "isTestnet": false
    },
    {
      "id": "base",
      "name": "Base",
      "type": "evm",
      "chainId": 8453,
      "nativeCurrency": "ETH",
      "blockTimeSeconds": 2,
      "confirmationBlocks": 10,
      "explorerUrl": "https://basescan.org",
      "isTestnet": false
    }
  ]
}

Response

200 - application/json

List of supported chains

success
enum<boolean>
Available options:
true
data
object[]