M
$0.01
per call · USD Coin on Base
Optimism L2 gas price — current transaction fee for Optimism network — Ed25519 signed attestation
Endpoint
GET https://api.myceliasignal.com/oracle/gas/optimism3
Calls / 30d
2
Unique payers / 30d
Sep 1
Last called
exact
Payment scheme
Call this service
TypeScript · @x402/fetch
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://api.myceliasignal.com/oracle/gas/optimism", {
method: "GET",
});
const data = await res.json();cURL
curl -X GET \
"https://api.myceliasignal.com/oracle/gas/optimism" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"chain": "optimism",
"txCostUsd": 0.00005
}Payment details
Pay to
0xd593832ce9c2b13b192ba50b55dd9af44e96700dAsset
USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913NetworksBase
Schemesexact
Is this your API?
Pin it to the top of Onchain Data and the homepage with a featured placement.
More from Myceliasignal & similar services
M
Myceliasignal · BTC USD
api.myceliasignal.com
Real-time Bitcoin price in USD, aggregated from 9 exchanges including Binance, Coinbase and Kraken — Ed25519 signed attestation
GETBaseMarket Data
$0.01 / call287 calls / 30d
M
Myceliasignal · ETH USD
api.myceliasignal.com
Real-time Ethereum price in USD, aggregated from 9 exchanges including Binance, Coinbase and Kraken — Ed25519 signed attestation
GETBaseMarket Data
$0.01 / call98 calls / 30d
M
Myceliasignal · Stress Market
api.myceliasignal.com
MSSI market stress index — composite systemic risk signal across crypto, equity, credit and volatility markets — Ed25519 signed attestation
GETBaseOther
$0.05 / call90 calls / 30d