Skip to main content

zks_estimateFee RPC Method

Loading...

Updated on
Apr 29, 2026

zks_estimateFee RPC Method

Parameters

transaction
object
REQUIRED
Loading...
from
string
REQUIRED
Loading...
to
string
REQUIRED
Loading...
data
string
Loading...

Returns

gas_limit
string
Loading...
gas_per_pubdata_limit
string
Loading...
max_fee_per_gas
string
Loading...
max_priority_fee_per_gas
string
Loading...
Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"gas_limit": "0x20941",
6
"max_fee_per_gas": "0x2b275d0",
7
"max_priority_fee_per_gas": "0x0",
8
"gas_per_pubdata_limit": "0x10"
9
}
10
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"gas_limit": "0x20941",
6
"max_fee_per_gas": "0x2b275d0",
7
"max_priority_fee_per_gas": "0x0",
8
"gas_per_pubdata_limit": "0x10"
9
}
10
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free