Skip to content
Fourohtwo

saylorinnovations.com/api/chain/l1-fee

L1 data fee estimate for Optimism, Base, Blast and Unichain from the GasPriceOracle, the part of an L2 transaction cost that gas estimates leave out.

SolanaAnswering
GEThttps://saylorinnovations.com/api/chain/l1-fee

Uptime100% of 2 checks in 30 days

30 days agoToday

Call it from an agent

curl -i "https://saylorinnovations.com/api/chain/l1-fee?chain=base&calldata_bytes=100"

# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.

Example input

{
  "chain": "base",
  "calldata_bytes": "100"
}

More from Saylor Innovations Data DeskProvider status