GET
https://api.gasyard.fi
/
api
/
sdk
/
v2
/
config
curl -X GET "https://api.gasyard.fi/api/sdk/v2/config?chainID=1" \
  -H "x-api-key: YOUR_API_KEY"
{
  "success": true,
  "data": {
    "networks": [
      {
        "chainID": 1,
        "name": "Ethereum",
        "baseToken": "ETH",
        "decimals": 18,
        "gateway": "0x6a2A5B7D0434CC5b77e304bc9D68C20Dee805152",
        "tokens": {
          "NATIVE": "0x0000000000000000000000000000000000000000",
          "USDC": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
          "USDT": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
        }
      },
      {
        "chainID": 2,
        "name": "Base",
        "baseToken": "ETH",
        "decimals": 18,
        "gateway": "0x6a2A5B7D0434CC5b77e304bc9D68C20Dee805152",
        "tokens": {
          "NATIVE": "0x0000000000000000000000000000000000000000",
          "USDC": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      },
      {
        "chainID": 4,
        "name": "Arbitrum",
        "baseToken": "ETH",
        "decimals": 18,
        "gateway": "0x6a2A5B7D0434CC5b77e304bc9D68C20Dee805152",
        "tokens": {
          "NATIVE": "0x0000000000000000000000000000000000000000",
          "USDC": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831"
        }
      }
    ]
  }
}
Retrieves configuration data for bridge tokens on specified networks, including gateway addresses and supported token contracts.

Authentication

x-api-key
string
required
Your API authentication key

Query Parameters

chainID
integer
Filter configuration to a specific network (1-12). If omitted, returns all networks.

Response

success
boolean
Indicates if the request was successful
data
object
Configuration data object
curl -X GET "https://api.gasyard.fi/api/sdk/v2/config?chainID=1" \
  -H "x-api-key: YOUR_API_KEY"
{
  "success": true,
  "data": {
    "networks": [
      {
        "chainID": 1,
        "name": "Ethereum",
        "baseToken": "ETH",
        "decimals": 18,
        "gateway": "0x6a2A5B7D0434CC5b77e304bc9D68C20Dee805152",
        "tokens": {
          "NATIVE": "0x0000000000000000000000000000000000000000",
          "USDC": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
          "USDT": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
        }
      },
      {
        "chainID": 2,
        "name": "Base",
        "baseToken": "ETH",
        "decimals": 18,
        "gateway": "0x6a2A5B7D0434CC5b77e304bc9D68C20Dee805152",
        "tokens": {
          "NATIVE": "0x0000000000000000000000000000000000000000",
          "USDC": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      },
      {
        "chainID": 4,
        "name": "Arbitrum",
        "baseToken": "ETH",
        "decimals": 18,
        "gateway": "0x6a2A5B7D0434CC5b77e304bc9D68C20Dee805152",
        "tokens": {
          "NATIVE": "0x0000000000000000000000000000000000000000",
          "USDC": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831"
        }
      }
    ]
  }
}