TxSentinelAgent transaction control
API checking x402 checking

OKX.AI GENESIS HACKATHON / ASP #6828

Control the transaction before it reaches the wallet.

Route proposed actions with a free, non-binding preflight. Purchase a formal policy decision only when an agent needs detailed evidence and a reproducible receipt.

Run free preflight

One action, four explicit stages

Policy logic stays offchain. Wallet authority stays with the user. Evidence is anchored onchain.

  1. 01 Describe action

    Chain, operation, recipient, amount, and supplied simulation evidence.

  2. 02 Route with preflight

    Get READY, REVIEW, or BLOCKED without payment, a formal decision, or receipt hashes.

  3. 03 Purchase formal evidence

    Valid requests use OKX x402 to return ALLOW, HOLD, or DENY with reasons and stable hashes.

  4. 04 Act or anchor

    The wallet may execute an allowed action; a paid receipt may be anchored on X Layer.

The same action can take two different paths

Start with a free routing signal. Purchase formal evidence only when the agent needs a decision it can retain and verify.

PROPOSED ACTION Chain, operation, destination, amount, and supplied simulation

PATH 01 / FREE

Readiness preflight

NO PAYMENT
  1. INPUT

    Basic action fields, policy limits, and supplied simulation evidence.

  2. RESULT

    READY, REVIEW, or BLOCKED for routing.

  3. BOUNDARY

    No formal decision, rule evidence, action digest, or receipt hash.

Use it to decide whether the action deserves a formal check.Run free preflight

PATH 02 / METERED

Formal x402 receipt

PAID EVIDENCE
  1. INPUT

    Normalized action, policy rules, and the x402 payment challenge.

  2. RESULT

    ALLOW, HOLD, or DENY after settlement.

  3. EVIDENCE

    Reason codes, risk score, action digest, receipt hash, and payment proof.

Persist it for review or anchor the formal receipt on X Layer.Explore formal check

AUTHORITY BOUNDARY Neither path signs, broadcasts, or takes custody of the proposed action. Wallet execution remains separate.

Ready state

Payments: X Layer Mainnet
Preflight API
Checking
Official x402
Checking
Canonical contract
0xd3d076...b4f98
Signing authority
OKX Wallet only

Three boundaries, no hidden authority

TXSENTINEL

Routes actions for free and returns formal, reproducible evidence after x402 settlement.

OKX WALLET

Shows the transaction and remains the only place where the user can authorize signing.

X LAYER

Preserves policy revisions and receipt hashes so the decision can be verified later.