{"slug":"saylorinnovations-com-api-chain-l1-fee-12ae90","title":"L1 data fee estimate for Optimism, Base, Blast and Unichain from the GasPriceOra","host":"saylorinnovations.com","method":"GET","resource":"https://saylorinnovations.com/api/chain/l1-fee","category":"other","description":"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.","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":278,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"calldata_bytes":"100","chain":"base"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"calldata_bytes":{"description":"optional calldata size in bytes for a typical transaction, 0 to 20000 (default 100)","type":"string"},"chain":{"description":"optimism, base, blast or unichain (or chain id)","type":"string"}},"required":["chain"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"chain":{"description":"the chain name that was queried","type":"string"},"chain_id":{"description":"EIP-155 chain id of that network","type":"number"},"estimated_for":{"description":"what the estimate is for","type":"string"},"l1_base_fee_gwei":{"description":"L1 base fee seen by the oracle, gwei","type":["number","null"]},"l1_data_fee_native":{"description":"L1 data fee in the native currency","type":"number"},"l1_data_fee_wei":{"description":"L1 data fee in wei","type":"string"},"l2_gas_price_gwei":{"description":"current L2 gas price in gwei","type":["number","null"]},"native_symbol":{"description":"native currency of the chain","type":"string"},"note":{"description":"plain-language reading of the result","type":"string"},"source":{"description":"where the data was read from or how it was computed","type":"string"}},"required":["chain","chain_id","estimated_for","l1_data_fee_native","note","source"],"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":278,"error":null}],"description_full":"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.","last_updated":"2026-10-21T04:11:34.001Z","schemes":["exact"]}