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
}
]
}Returns all EVM chains that SwiftPay supports for invoice settlement. No authentication required.
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
}
]
}