Skip to main content

Parameters

chainId
string
default:"2741"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"zks_getProof"
required
JSON-RPC method name.
params
object
required
Positional parameters for zks_getProof:
  • params[0]: The account address to fetch storage proofs for.
  • params[1]: Vector of storage keys in the account.
  • params[2]: The L1 batch number specifying the point in time for the storage proof.

Returns

result
object
The JSON-RPC result.