Skip to content
Fourohtwo

๐Ÿ†• b20-control reads the token's own roles

402.com.tr/api/x402/b20-policy-admin

๐Ÿ†• b20-control reads the token's own roles; the address that can actually add you to a blocklist lives in the Policy Registry. This reads WHO administers each active transfer/mint policy (policyAdmin), and whether that control is being handed over (pendingPolicyAdmin) or renounced. The other half of 'who can freeze/seize you', straight from the registry.

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

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-policy-admin?address=0xb20000000000000000000042d5ae64abd03d0dca");
console.log(await res.json());

Example input

{
  "address": "0xb20000000000000000000042d5ae64abd03d0dca"
}