Skip to content
Fourohtwo

๐Ÿ†• Every B20 has ERC-2612 permit built in

402.com.tr/api/x402/b20-permit

๐Ÿ†• Every B20 has ERC-2612 permit built in โ€” approve a spender by signature instead of a transaction. Reads exactly what an agent needs to build a valid permit: the token's DOMAIN_SEPARATOR, the owner's current nonce (so the signed payload can't be rejected/replayed), and the EIP-712 domain/type struct. Read-only โ€” signs nothing.

BaseSolanaAnswering
GEThttps://402.com.tr/api/x402/b20-permit

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://402.com.tr/api/x402/b20-permit?address=0xb20000000000000000000186a08e781c38059eec&owner=0x973a31858f4d2125f48c880542da11a2796f12d6");
console.log(await res.json());

Example input

{
  "address": "0xb20000000000000000000186a08e781c38059eec",
  "owner": "0x973a31858f4d2125f48c880542da11a2796f12d6"
}