Skip to main content
POST
/
tools
/
web3
/
evm
/
get-supported-chains
Get Supported Chains
curl --request POST \
  --url https://api.dirtroad.dev/tools/web3/evm/get-supported-chains \
  --header 'Content-Type: application/json' \
  --header 'X-Payment: <api-key>' \
  --data '{}'
{
  "chains": [
    {
      "id": "<string>",
      "name": "<string>",
      "rpcUrl": "<string>",
      "blockExplorerUrl": "<string>",
      "nativeCurrency": {
        "name": "<string>",
        "symbol": "<string>",
        "decimals": 123
      },
      "isTestnet": true
    }
  ]
}

Authorizations

X-Payment
string
header
required

x402 blockchain payment authorization header containing signed EIP-3009 Transfer with Authorization

Body

application/json · object

Empty request body for endpoints that don't require parameters

Response

List of supported chains retrieved successfully

chains
object[]
required

Array of supported chains