chains

Get gas price from oracle

Changed on
get/v1/chains/{chainId}/gas-price

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

chainIdstring required
Example:1

Response

statusstring required

Status code ("1" = success)

messagestring required

Response message

Example response

{
  "status": "1",
  "message": "OK",
  "result": {
    "LastBlock": "23467872",
    "SafeGasPrice": "0.496839934",
    "ProposeGasPrice": "0.496840168",
    "FastGasPrice": "0.55411917",
    "suggestBaseFee": "0.496839934",
    "gasUsedRatio": "0.5,0.6,0.7"
  }
}

Changes