Zum Inhalt
HALOWERK

Kettenwerk

tx / simulate

Answers the question that stands before every signature: what really happens to my assets and my rights. The call is executed against the state of a named block on a simulation interface, never on the chain — this hub holds no private key and broadcasts nothing. Balance changes are not inferred from events but measured: the same simulation reads every touched balance immediately before and immediately after the call, native currency included, so an outflow that emits no event is still.

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

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
chainstringJaChain to simulate on.
fromstringJaSender address. No signature is needed and none is created.
tostringJaTarget address.
datastringNeinCall data.
valuestringNeinValue in wei, decimal or 0x.
gasintegerNeinOptional gas limit for the simulation.
blockstringNein"latest" or a block number as decimal string.
state_overridesobjectNeinOptional state overrides per address, in the eth_simulateV1 format (balance, nonce, code, state, stateDiff).
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "chain",
    "from",
    "to"
  ],
  "additionalProperties": false,
  "properties": {
    "chain": {
      "type": "string",
      "enum": [
        "ethereum",
        "base",
        "arbitrum",
        "optimism",
        "polygon",
        "bsc"
      ],
      "description": "Chain to simulate on."
    },
    "from": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$",
      "description": "Sender address. No signature is needed and none is created."
    },
    "to": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$",
      "description": "Target address."
    },
    "data": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]*$",
      "default": "0x",
      "description": "Call data."
    },
    "value": {
      "type": "string",
      "default": "0",
      "description": "Value in wei, decimal or 0x."
    },
    "gas": {
      "type": "integer",
      "minimum": 21000,
      "maximum": 30000000,
      "description": "Optional gas limit for the simulation."
    },
    "block": {
      "type": "string",
      "default": "latest",
      "description": "\"latest\" or a block number as decimal string."
    },
    "state_overrides": {
      "type": "object",
      "description": "Optional state overrides per address, in the eth_simulateV1 format (balance, nonce, code, state, stateDiff)."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "chain": "ethereum",
  "from": "0x0000000000000000000000000000000000000000",
  "to": "0x0000000000000000000000000000000000000000",
  "data": "0x",
  "value": "0",
  "block": "latest"
}

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 →