Skip to main content

zks_estimateGasL1ToL2 RPC Method

Loading...

Updated on
Apr 29, 2026

zks_estimateGasL1ToL2 RPC Method

Parameters

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

Returns

result
string
Loading...
Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0x54797c"
5
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0x54797c"
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free