{"service":"x402-gas-snapshot","tagline":"The drop-in Base gas oracle for AI agents \u2014 one x402 call, plug the wei values straight into a tx.","paidEndpoint":{"method":"GET","path":"\/v1\/base\/gas","price":"$0.001","network":"eip155:8453","params":{"blocks":"integer 1..50 (default 20) \u2014 recent blocks to sample for percentile tiers"}},"quickstart":{"with":"@x402\/fetch (wrap your funded x402 client)","code":"const res = await fetchWithPay('https:\/\/gas.apitoll.cloud\/v1\/base\/gas');\nconst gas = await res.json();\nconst tier = gas.tiers.standard;            \/\/ or .slow \/ .fast\ntx.maxFeePerGas = BigInt(tier.maxFeePerGas);            \/\/ wei, exact\ntx.maxPriorityFeePerGas = BigInt(tier.maxPriorityFeePerGas);","note":"tiers.{slow,standard,fast}.{maxFeePerGas,maxPriorityFeePerGas} are exact wei (decimal strings, BigInt-ready); the *_gwei fields are the same values human-readable."}}