l1_data_fee
OP-stack fee breakdown (Base/Optimism): L1 data fee from GasPriceOracle getL1Fee for your tx bytes or a template, plus L2 execution fee, L1 base fee and blob base fee and L1 share %. Price x402 settle Paid: $0.02 USDC via x402.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "l1_data_fee"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | hex tx bytes (optional) | |
| kind | No | native_transfer|erc20_transfer|swap | |
| chain | No | base|optimism|base-sepolia |