Zum Inhalt
HALOWERK

Kettenwerk

security / pre sign

Check EVM permissions before signing. Decodes bounded standard token calls and EIP-712 encoding, applies exact raw-unit limits and caller address policy, flags unlimited grants and wrong chains. Optional current-chain simulation uses the existing simulation service. Unknown semantics remain orange. No signing or broadcasting; sanctions and complete drainer registries are not covered.

POST https://kette.halowerk.com/security/pre-sign

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
typestringJa
tostringNein
fromstringNein
chainstringNein
chain_idintegerNein
datastringNein
valuestringNein
simulatebooleanNein
typed_dataobjectNein
messagestringNein
methodstringNein
originstringNein
policyobjectNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "transaction",
        "typed_data",
        "message"
      ]
    },
    "to": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "from": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "chain": {
      "type": "string",
      "enum": [
        "ethereum",
        "base",
        "arbitrum",
        "optimism",
        "polygon",
        "bsc"
      ]
    },
    "chain_id": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    },
    "data": {
      "type": "string",
      "pattern": "^0x([0-9a-fA-F]{2})*$",
      "maxLength": 131074
    },
    "value": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]*)$",
      "maxLength": 78
    },
    "simulate": {
      "type": "boolean",
      "default": false
    },
    "typed_data": {
      "type": "object"
    },
    "message": {
      "type": "string",
      "maxLength": 8000
    },
    "method": {
      "type": "string",
      "enum": [
        "eth_sign",
        "personal_sign"
      ]
    },
    "origin": {
      "type": "string",
      "maxLength": 2000
    },
    "policy": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "allowed_recipients": {
          "type": "array",
          "maxItems": 100,
          "items": {
            "type": "string",
            "pattern": "^0x[0-9a-fA-F]{40}$"
          }
        },
        "blocked_addresses": {
          "type": "array",
          "maxItems": 100,
          "items": {
            "type": "string",
            "pattern": "^0x[0-9a-fA-F]{40}$"
          }
        },
        "max_native_wei": {
          "type": "string",
          "pattern": "^(0|[1-9][0-9]*)$",
          "maxLength": 78
        },
        "max_token_units": {
          "type": "string",
          "pattern": "^(0|[1-9][0-9]*)$",
          "maxLength": 78
        }
      },
      "required": []
    }
  },
  "required": [
    "type"
  ]
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "type": "transaction",
  "to": "0x1111111111111111111111111111111111111111",
  "data": "0x095ea7b30000000000000000000000002222222222222222222222222222222222222222ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
  "value": "0"
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-07, 02:42 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →