gas

Get estimated gas price

Changed on

Returns estimated gas prices (slow, median, fast) derived from recent transaction history. Useful for setting the gas price when submitting new transactions.

get/gas/price

Request

  • Base URL
    api-mainnet.celenium.io (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header apikey

Response

OK

faststring string
medianstring string
slowstring string

Example response

{
  "fast": "0.1234",
  "median": "0.1234",
  "slow": "0.1234"
}

Changes