chain

Get Gas Price

Fetches the current gas price from the specified blockchain network.

💡 Compute Unit Value: 25 (Fixed)

get/defi/v1/chain/getgasprice

Request

  • Base URL
    https://svc.blockdaemon.com
  • URL
    https://svc.blockdaemon.com/defi/v1/chain/getgasprice
  • Auth
    API key in header X-API-Key

Query parameters

chainId'1' | '11155111' | '56' | '25' | '97' | '43114' | '338' | '1200' | '1201' | '43113' | '42161' | '10' | '11155420' | '4002' | '324' | '300' | '101' | '102' | '103' | 'cosmoshub-4' | '1600' | '1601' | '1700' | '1701' | 'osmosis-1' | 'osmo-test-5' | '1800' | '137' | '421614' | '80002' | '250' | '8453' | '84532' | '1100' | '1101' | '1400' | '1401' | '1500' | '1501' | '17000' | '5000' | '5003' | '8217' | '1001'

The unique ID to direct queries or transactions to the correct blockchain. Find more here.

Example:1
chainSymbolstring

The abbreviated chain name for queries or transactions.

Example:ETH

Response

Successful response

statusinteger
msgstring
dataobject

Example response

{
  "status": 200,
  "msg": "success",
  "data": {
    "gasPrice": "16858407956"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.