x402 Base Tools
Everything about a Base transaction in one call: status, time, from and to, ETH value, the function called (for common selectors), the fee split into L2 execution and L1 data in ETH and USD, every ERC-20 transfer with symbol and readable amount, NFT transfers, and x402 payments (USDC transferWithAuthorization) with the seller named from Bazaar.
- Price per call
- $0.002
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 7
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://base.kagurazaka.dev/v1/tx", { method: "GET" });
console.log(await res.json());https://base.kagurazaka.dev/v1/tx