Skip to content
Fourohtwo

Base ERC-20 check before an agent buys or holds a token

base-token-check.fly.dev/v1/token-check

Base ERC-20 check before an agent buys or holds a token. Input: one contract address. Output: allow, warn, or block. Block: not a contract, not an ERC-20, zero supply, or the owner or token contract holds at least 50 percent. Warn: 20 to 50 percent held, proxy (EIP-1967, EIP-1167, or implementation()), or bytecode contains mint or pause. A selector does not prove the public can call it. Concentrat

BaseUnchecked
GEThttps://base-token-check.fly.dev/v1/token-check

UptimeNot checked yet

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://base-token-check.fly.dev/v1/token-check?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913");
console.log(await res.json());

Example input

{
  "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}