Skip to content
Fourohtwo

Split Check

www.omenz.org/api/tollbooth/v1/split-check

Split Check: before paying into (or trusting) an on-chain revenue split, verify what it actually pays. Detects 0xSplits v2 splits on Base / Base Sepolia, proves a claimed recipients+allocations config against the on-chain splitHash (or discovers it from recent events), shows each recipient's share, whether a given beneficiary is included, whether the split is immutable (no owner), and USDC waiting

BaseAnswering
POSThttps://www.omenz.org/api/tollbooth/v1/split-check

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://www.omenz.org/api/tollbooth/v1/split-check", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"address":"0x1bd3aaa92243e3d4352bdce07050aec6fcf5e840","beneficiary":"0x...","claimed":{"allocations":[970000,30000],"recipients":["0x1bd3aaa92243e3d4352bdce07050aec6fcf5e840","0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]},"network":"base"}),
});
console.log(await res.json());

Example input

{
  "address": "0x1bd3aaa92243e3d4352bdce07050aec6fcf5e840",
  "beneficiary": "0x...",
  "claimed": {
    "allocations": [
      970000,
      30000
    ],
    "recipients": [
      "0x1bd3aaa92243e3d4352bdce07050aec6fcf5e840",
      "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
    ]
  },
  "network": "base"
}