Token allowance check, Arc
Allowance check on Arc, before an app asks for an approval: what owner has already approved to spender for a token (default USDC; add &token=0x... for another), in tokens and USD, whether it is unlimited, the owner's balance, whether the spender is a contract and its name if it is one our own code uses on Arc (Uniswap v4 PoolManager, UniversalRouter, Permit2, Circle Gateway Wallet, CCTP TokenMesse
- Price per call
- $0.001
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 0
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://apexfaucet.xyz/api/x402/arc-allowance", { method: "GET" });
console.log(await res.json());https://apexfaucet.xyz/api/x402/arc-allowance