13trust / 100

Gas Oracle Estimate

by Multichain Gas Oracle in Onchain & crypto

x402 APIFailing, checked 2 h ago

USD cost of a specific tx incl. OP-stack L1 data fee

GET https://x402.professorsausages.com/gas-oracle/:chain/estimate

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
2 h ago: Expected HTTP 402, got 400
Next check
any minute now

How to call it

# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X GET 'https://x402.professorsausages.com/gas-oracle/:chain/estimate?gas=Explicit+gas+limit+%2821000%E2%80%9330000000%29%3B+overrides+txType+gas.&speed=slow%7Cstandard%28default%29%7Cfast.&txType=transfer%7Cerc20%7Cswap%7CnftMint%7Cdeploy+%28preset+gas+%2B+calldata+size%29.'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.professorsausages.com%2Fgas-oracle%2F%3Achain%2Festimate
const res = await pay("https://x402.professorsausages.com/gas-oracle/:chain/estimate?gas=Explicit+gas+limit+%2821000%E2%80%9330000000%29%3B+overrides+txType+gas.&speed=slow%7Cstandard%28default%29%7Cfast.&txType=transfer%7Cerc20%7Cswap%7CnftMint%7Cdeploy+%28preset+gas+%2B+calldata+size%29.");
console.log(await res.json());

Example input

{
  "gas": "Explicit gas limit (21000–30000000); overrides txType gas.",
  "speed": "slow|standard(default)|fast.",
  "txType": "transfer|erc20|swap|nftMint|deploy (preset gas + calldata size)."
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoExpected HTTP 402, got 400400408 ms-
6 h agoExpected HTTP 402, got 400400127 ms-
10 h agoExpected HTTP 402, got 40040041 ms-
15 h agoExpected HTTP 402, got 40040074 ms-
19 h agoExpected HTTP 402, got 40040052 ms-
23 h agoExpected HTTP 402, got 400400349 ms-
28 h agoExpected HTTP 402, got 400400140 ms-
32 h agoExpected HTTP 402, got 40040043 ms-
36 h agoExpected HTTP 402, got 40040050 ms-
40 h agoExpected HTTP 402, got 40040054 ms-
44 h agoExpected HTTP 402, got 400400166 ms-
2 days agoExpected HTTP 402, got 40040059 ms-
2 days agoExpected HTTP 402, got 40040054 ms-
2 days agoExpected HTTP 402, got 40040037 ms-
3 days agoExpected HTTP 402, got 400400430 ms-