Coherence · Spend Gate
Spend Gate — the Coherence Gate for agent wallet payments, fronted by OmniGate: four independent paths (provider trust, payload safety, price sanity vs cap, OmniGate delivery history) vote pay/reject on a payee + quoted USDC amount before the wallet pays; coherence = |sum(w*d)| / sum(w), gate_pass requires coherence >= 0.6 AND a pay-side consensus; Jev reviews only on a pass. Moves no funds.
price
0.0050 USDC
rail
Base
facilitator
OMNIGATE
method
POST
endpoint https://mcp-x402.onrender.com/gate/coherence/spend-gate
payTo 0x5bbd32e0478e49a7540ef2d760e0b0f9aa6328b2
asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
indexed 2026-10-25T20:10:49.000Z
Live 402 challenge
Hits the real endpoint without paying and shows exactly what it demands. Nothing is charged.
Pay from your agent
import { wrapFetchWithPayment } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";
const signer = privateKeyToAccount(process.env.BUYER_PRIVATE_KEY);
const pay = wrapFetchWithPayment(fetch, { schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(signer) }] });
const res = await pay("https://mcp-x402.onrender.com/gate/coherence/spend-gate", { method: "POST", headers: { "content-type": "application/json" }, body: JSON.stringify({ "payee": "api.example.com", "quoted_amount": 0.01, "tool_category": "data_lookup" }) });
console.log(await res.json(), res.headers.get("PAYMENT-RESPONSE"));Example input
{
"payee": "api.example.com",
"quoted_amount": 0.01,
"tool_category": "data_lookup"
}Example output
{
"product": "Spend Gate",
"coherence": 1,
"consensus": "pay",
"gate_pass": true,
"paths": [],
"jev": {}
}