Zum Inhalt
HALOWERK

Marktwerk

gas

Reads eth_feeHistory over the last ten blocks with reward percentiles 25, 50 and 75, and falls back to eth_gasPrice when a node does not serve fee history. base_fee_gwei is the base fee of the next block, not of the last one, because that is the fee a transaction sent now will actually pay. recommended_gwei is a bid, not an observation: priority at the median plus a base fee doubled to survive several full blocks, and the rule is stated in recommended_rule. cost_usd converts that into.

POST https://markt.halowerk.com/gas

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
chainstringNeinChain to measure. ethereum or base.
actionstringNeinWhich transaction the cost estimate is for: transfer, erc20 or swap.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "chain": {
      "type": "string",
      "enum": [
        "ethereum",
        "base"
      ],
      "default": "ethereum",
      "description": "Chain to measure. ethereum or base."
    },
    "action": {
      "type": "string",
      "enum": [
        "transfer",
        "erc20",
        "swap"
      ],
      "default": "transfer",
      "description": "Which transaction the cost estimate is for: transfer, erc20 or swap."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "chain": "base",
  "action": "erc20"
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →