Zum Inhalt
HALOWERK

Kettenwerk

tx / decode

Turns opaque call data into something an agent can reason about before signing. The method signature is resolved from the verified source of the contract first, then from this hub's own list of common signatures, then from the open selector directory — and the answer always names which of the three was used, because a four-byte selector is short enough to collide and colliding entries are listed. An unknown selector stays unknown: parameters are returned raw and nothing is guessed. Approvals.

POST https://kette.halowerk.com/tx/decode

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
chainstringJaChain the call belongs to.
tx_hashstringNeinHash of an existing transaction. Its receipt logs are decoded too when it is mined.
rawstringNeinRaw signed transaction (any EIP-2718 type). It is only parsed, never broadcast.
tostringNeinTarget address, when passing call data directly.
datastringNeinCall data, when passing it directly.
valuestringNeinValue in wei as a decimal or 0x string. Optional, defaults to 0.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "chain"
  ],
  "additionalProperties": false,
  "properties": {
    "chain": {
      "type": "string",
      "enum": [
        "ethereum",
        "base",
        "arbitrum",
        "optimism",
        "polygon",
        "bsc"
      ],
      "description": "Chain the call belongs to."
    },
    "tx_hash": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{64}$",
      "description": "Hash of an existing transaction. Its receipt logs are decoded too when it is mined."
    },
    "raw": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{20,}$",
      "description": "Raw signed transaction (any EIP-2718 type). It is only parsed, never broadcast."
    },
    "to": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$",
      "description": "Target address, when passing call data directly."
    },
    "data": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]*$",
      "description": "Call data, when passing it directly."
    },
    "value": {
      "type": "string",
      "description": "Value in wei as a decimal or 0x string. Optional, defaults to 0."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "chain": "ethereum"
}

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 →