Skip to content
Fourohtwo

detect.halowerk.com/v1/F-A-NIGHT-OS-C-MACRO/c-preprocessor-token-rescan-hide-set

Returns the resulting token count and abstract token shape after argument prescan, raw stringification, token pasting and disabled-name rescanning, especially empty arguments and generated ## tokens, for an offline preprocessing-fixture author.

BaseAnswering
POSThttps://detect.halowerk.com/v1/F-A-NIGHT-OS-C-MACRO/c-preprocessor-token-rescan-hide-sets

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://detect.halowerk.com/v1/F-A-NIGHT-OS-C-MACRO/c-preprocessor-token-rescan-hide-sets", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"artifact":{"macro_rescan":{"claim":3,"macros":[{"body":["M1","+","1"],"name":"M0","params":null},{"body":["2"],"name":"M1","params":null}],"tokens":["M0"]}}}),
});
console.log(await res.json());

Example input

{
  "artifact": {
    "macro_rescan": {
      "claim": 3,
      "macros": [
        {
          "body": [
            "M1",
            "+",
            "1"
          ],
          "name": "M0",
          "params": null
        },
        {
          "body": [
            "2"
          ],
          "name": "M1",
          "params": null
        }
      ],
      "tokens": [
        "M0"
      ]
    }
  }
}