Parameters
string
default:"300"
required
Unique identifier for a blockchain network.
number
default:1
required
Request identifier used to match responses.
string
default:"2.0"
required
JSON-RPC version.
string
default:"zks_estimateGasL1ToL2"
required
JSON-RPC method name.
object
Positional parameters for
zks_estimateGasL1ToL2:params[0]: Type: object.
Returns
string
The estimated gas required for a L1 to L2 transaction, in hexadecimal format. Example:
“0x25f64db”.