GET /api/explorer/v1/gas/price

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/oklink/api/explorer/v1/gas/priceCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Chain-wide gas snapshot (slow/standard/fast/rapid, base fee, ETH price)

Companion to v2/{chain}/gasPrice.

Parameters

No parameters documented.

Response

type: object
pagination: none
sample: {
  "code": "int",
  "data": "object",
  "detailMsg": "str",
  "msg": "str"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/oklink/api/explorer/v1/gas/price"