Skip to content
Fourohtwo

Token approval / permit risk decoder

beggar-bot-demand.beggarbot.workers.dev/v1/allowance

Token approval / permit risk decoder: approve, increaseAllowance, setApprovalForAll, EIP-2612 permit, Permit2 approve calldata or EIP-712 typed data (Permit, PermitSingle/Batch, PermitTransferFrom) -> spender label, unlimited/expiry flags, revoke calldata; optional live ERC-20 + Permit2 allowance read (keyless RPC).

BaseUnchecked
POSThttps://beggar-bot-demand.beggarbot.workers.dev/v1/allowance

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://beggar-bot-demand.beggarbot.workers.dev/v1/allowance", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"to":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","data":"0x095ea7b3000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"}),
});
console.log(await res.json());

Example input

{
  "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "data": "0x095ea7b3000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}