ZKSync API
zks_estimateFee
Estimates the fee for a given call request
post/zks_estimateFee
Request
- Base URLhttps://api.mainnet.abs.xyz
- URLhttps://api.mainnet.abs.xyz/zks_estimateFee
- Authnone declared
Request body
Response
Returns the estimated fee details
Example response
{
"jsonrpc": "2.0",
"id": 2,
"result": {
"gas_limit": "0x1ea9a9",
"max_fee_per_gas": "0x17d7840",
"max_priority_fee_per_gas": "0x0",
"gas_per_pubdata_limit": "0x5340"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.