Skip to main content
GET
/
gas_token_prices
curl --request GET \
  --url 'https://mach-prod-536329393577.asia-northeast1.run.app/gas_token_prices'
{
  "ethereum": {
    "symbol": "ETH",
    "price": 3500.25
  },
  "arbitrum": {
    "symbol": "ETH",
    "price": 3500.25
  },
  "optimism": {
    "symbol": "ETH",
    "price": 3500.25
  },
  "avalanche": {
    "symbol": "AVAX",
    "price": 28.75
  },
  "polygon": {
    "symbol": "MATIC",
    "price": 0.65
  },
  "solana": {
    "symbol": "SOL",
    "price": 145.80
  }
}
This endpoint retrieves the current prices of gas tokens (native tokens) for all supported blockchains.

Response

The response includes the current prices of gas tokens in USD for each supported blockchain.
curl --request GET \
  --url 'https://mach-prod-536329393577.asia-northeast1.run.app/gas_token_prices'
{
  "ethereum": {
    "symbol": "ETH",
    "price": 3500.25
  },
  "arbitrum": {
    "symbol": "ETH",
    "price": 3500.25
  },
  "optimism": {
    "symbol": "ETH",
    "price": 3500.25
  },
  "avalanche": {
    "symbol": "AVAX",
    "price": 28.75
  },
  "polygon": {
    "symbol": "MATIC",
    "price": 0.65
  },
  "solana": {
    "symbol": "SOL",
    "price": 145.80
  }
}

Status Codes

Status CodeDescription
200Success - Gas token prices returned successfully
500Internal Server Error - Something went wrong on the server