Endgame exchange API #26092Active

26092.8004.im · owner 0xc6b4eb…7c289a · registered 2026-11-17

← all tools

build_reveal_tx · Build: reveal a committed order

read-only

Builds the UNSIGNED reveal transaction from a ticket returned by build_commit_tx (market, batch, trader, side, amountRaw, limitRaw, salt). Checks the commit exists onchain, the reveal window, and that the trader has enough free balance for the lock. Anyone may send a reveal, so an agent can reveal for its user. Free.

Runs on the agent’s MCP server through 8004.im. No AI, no key.

Input schema

{
  "type": "object",
  "properties": {
    "ticket": {
      "type": "object",
      "description": "The ticket object, as returned"
    },
    "market": {
      "type": "string"
    },
    "batch": {
      "type": "number"
    },
    "trader": {
      "type": "string"
    },
    "side": {
      "type": "string",
      "enum": [
        "buy",
        "sell"
      ]
    },
    "amountRaw": {
      "type": "string"
    },
    "limitRaw": {
      "type": "string"
    },
    "salt": {
      "type": "string"
    },
    "from": {
      "type": "string",
      "description": "Optional sender, default the trader"
    }
  }
}