Skip to content
Fourohtwo

Should I submit this Base transaction now, and at what fee

x402-mcp.onrender.com/base/tx-decision

Should I submit this Base transaction now, and at what fee? One call returns submit-or-wait, max fee per gas and priority fee in gwei (EIP-1559), and the estimated cost in USD for an ETH transfer, USDC ERC-20 transfer, or x402 settlement on Base mainnet. Live gas price and congestion from Base RPC blocks, no API key. For bots that queue transactions: call before every send.

BaseAnswering
GEThttps://x402-mcp.onrender.com/base/tx-decision

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402-mcp.onrender.com/base/tx-decision?gas=usdc&urgency=flexible");
console.log(await res.json());

Example input

{
  "gas": "usdc",
  "urgency": "flexible"
}