Arc transaction cost
What a given operation SHOULD cost on Arc right now, in dollars - a price list computed at the gas price read at this block, and the companion to /api/x402/arc-gas which measures what transactions ACTUALLY cost across a spread of blocks. Use this one to quote an operation, that one to budget for the tail: the 20 gwei floor holds most of the time but is not a cap, and the response says so.
- Price per call
- $0.003
- 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-cost", { method: "GET" });
console.log(await res.json());https://apexfaucet.xyz/api/x402/arc-cost