zks_getProof

This method generates Merkle proofs for one or more storage values associated with a specific account, accompanied by a proof of their authenticity.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
AddressstringRequiredformat: "^0x[0-9a-fA-F]{40}$"

Account address to fetch storage values and proofs for.

Storage keyslist of stringsRequired

The storage keys in the account.

L1 batch numberstringRequiredformat: "^0x[0-9a-fA-F]{1,8}$"

Number of the L1 batch specifying the point in time at which the requested values are returned.

Response

The account details and proofs for storage keys.

addressstringformat: "^0x[0-9a-fA-F]{40}$"

Account address associated with the storage proofs.

storageProoflist of objects

Array of storage proofs for the requested keys.