{"demo":true,"note":"Free fixed-input sample of real output. The paid route accepts your own input: /api/gas ($0.01 per call, x402 USDC on Base, no signup or API key).","paid_endpoint":"https://horizonpulse.dev/api/gas","price":"$0.01","fixed_input":"none","sample_status":200,"sample":{"ok":true,"source":"rpc+coinbase","priced":{"amountUsd":"$0.01","amountAtomic":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"base","payTo":"0x5b32c973596078a967562ca652761404f19be0e9"},"asOf":"2026-10-01T02:33:40.816Z","ethUsd":2689.44,"networks":[{"network":"base","chainId":8453,"caip2":"eip155:8453","ok":true,"rpc":"https://base.publicnode.com","source":"eth_feeHistory","baseFeeGwei":"0.005","priorityFeeGwei":"0.001","priorityFeePercentilesGwei":{"p10":"0","p50":"0.001","p90":"0.0045"},"suggestedMaxFeeGwei":"0.011","timingHint":"normal","timingDetail":{"sampleSize":20,"currentBaseFeeGwei":"0.005","percentileRank":50,"rule":"cheap if percentileRank < 33; expensive if > 67; else normal (rank of latest confirmed baseFee in last 20 blocks)"},"simpleTransfer":{"gasLimit":21000,"costWei":"231000000000","costEth":"0.000000231","costUsd":0.000621}},{"network":"ethereum","chainId":1,"caip2":"eip155:1","ok":true,"rpc":"https://ethereum.publicnode.com","source":"eth_feeHistory","baseFeeGwei":"0.18252888","priorityFeeGwei":"0.048152042","priorityFeePercentilesGwei":{"p10":"0.000414739","p50":"0.048152042","p90":"1.221425375"},"suggestedMaxFeeGwei":"0.413209802","timingHint":"expensive","timingDetail":{"sampleSize":20,"currentBaseFeeGwei":"0.183172511","percentileRank":87.5,"rule":"cheap if percentileRank < 33; expensive if > 67; else normal (rank of latest confirmed baseFee in last 20 blocks)"},"simpleTransfer":{"gasLimit":21000,"costWei":"8677405842000","costEth":"0.000008677405842","costUsd":0.023337}}],"warnings":[],"priceSource":"coinbase","methodology":{"sources":"JSON-RPC eth_feeHistory (preferred) with rewardPercentiles [10,50,90] over the last 20 blocks; falls back to eth_gasPrice if feeHistory is unavailable. Optional ETH/USD for transfer cost estimate from Coinbase Exchange public ETH-USD stats, falling back to CoinGecko /simple/price.","networks":"Base (eip155:8453) and Ethereum mainnet (eip155:1). Optional BASE_RPC_URL / ETH_RPC_URL; otherwise public endpoints with failover (same defaults as /api/portfolio).","fields":{"baseFeeGwei":"Latest baseFeePerGas from feeHistory (last element of the returned baseFee array, which includes the next-block base fee).","priorityFeeGwei":"Median (p50) of per-block reward[1] from feeHistory across the window. If feeHistory lacks rewards, omitted.","suggestedMaxFeeGwei":"2 * baseFee + priorityFee (common wallet heuristic for inclusion). If only eth_gasPrice is available, that value is used as suggestedMaxFee and labeled gasPrice fallback.","simpleTransfer":"Cost = suggestedMaxFee * 21000 gas. ETH amount via formatEther; USD = ETH * ETH/USD (Coinbase, CoinGecko fallback) when a price fetch succeeds."},"timingHint":"Within the same feeHistory baseFee sample (excluding the pending next-block fee when length > blockCount): compute the percentile rank of the current (latest confirmed) baseFee among those samples. cheap = rank < 33rd percentile; expensive = rank > 67th; otherwise normal. If only a single sample or gasPrice fallback, timingHint is normal with note. Not a forecast — descriptive of the recent window only.","honesty":"No fake predictions, no smoothed invented curves. RPC or price-source failures are surfaced per network / in warnings."}}}