$0.003
per call · USD Coin on Base
Records an agent decision (execute now, or wait) against a fresh forecast snapshot and returns a decision_id plus the block at which the outcome becomes checkable. Nothing is predicted here beyond the snapshot: this is a tamper-evident journal entry so the agent can later prove what it knew and what it chose.
Endpoint
POST https://lotusnetworkapi.com/api/v1/gas/decision1
Calls / 30d
1
Unique payers / 30d
Aug 12
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://lotusnetworkapi.com/api/v1/gas/decision", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"horizonMinutes": 15,
"maxFeeGwei": 0.012,
"stance": "wait"
}),
});
const data = await res.json();curl -X POST \
"https://lotusnetworkapi.com/api/v1/gas/decision" \
-H "Content-Type: application/json" \
-d '{"horizonMinutes":15,"maxFeeGwei":0.012,"stance":"wait"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"auditUrl": "https://lotusnetworkapi.com/api/v1/gas/audit/7c1f9a2b4d6e8f0a1b2c3d4e5f607182",
"auditableAt": "2026-07-30T04:27:00.000Z",
"decisionId": "7c1f9a2b4d6e8f0a1b2c3d4e5f607182",
"recordedAt": "2026-07-30T04:12:00.000Z",
"snapshot": {
"baseFeeGwei": 0.0142,
"highGwei": 0.0182,
"lowGwei": 0.0106
},
"stance": "wait",
"success": true,
"targetBlock": 24881453
}Payment details
0x3268c9434d8603957420f04510ca0ff6097a5c64USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Onchain Data and the homepage with a featured placement.
More from Lotusnetworkapi & similar services
Lotusnetworkapi · GAS Preflight
lotusnetworkapi.com
Read-only Base L2 gas conditions computed directly from chain data: current base fee, recent percentiles, realised volatility, congestion state, and an 80% forecast range for a chosen horizon. This is supporting context for timing a transaction, not a trade instruction. Every figure is reproducible from public Base RPC data.
Lotusnetworkapi · Generate Image
lotusnetworkapi.com
Text-to-image generation powered by FLUX.2 [pro]. Send a prompt, get back a 1024x1024 image as base64 JSON or raw bytes, plus a durable direct URL. No API key or account needed.
Lotusnetworkapi · Video
lotusnetworkapi.com
Text-to-video and image-to-video generation at 1080p, up to five seconds. Returns a job id immediately; poll the free status endpoint until it completes, then collect an MP4 stored on a durable URL. Generation typically takes one to three minutes. No API key or account needed.