Pre-flight a Base payment destination before you send
payee.schemasure.com/v1/guard/payee
Pre-flight a Base payment destination before you send. Verifies the EIP-55 checksum, measures distance from an address you expect — catching a mistyped digit and the shared prefix-and-suffix shape of a ground look-alike — flags the zero address, burn sinks and precompiles, refuses a token offered as its own payee, and reports whether the destination can receive the asset. Returns unknown rather th
POST
https://payee.schemasure.com/v1/guard/payeeUptime100% 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://payee.schemasure.com/v1/guard/payee", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"address":"0x7a3D40f7c6B18E5920Ab7C3e5d81f4A04E6F8a0D","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","expected_address":"0x7A3D9C1b5e2F4A8d6C0b3E5F7a9D1c2b4e6f8A0d"}),
});
console.log(await res.json());Example input
{
"address": "0x7a3D40f7c6B18E5920Ab7C3e5d81f4A04E6F8a0D",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"expected_address": "0x7A3D9C1b5e2F4A8d6C0b3E5F7a9D1c2b4e6f8A0d"
}