---
title: "zks_getProof"
method: POST
path: "/zks_getProof"
tags: ["ZKSync API"]
---

# zks_getProof

`POST /zks_getProof`

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

## Request body

- object
  - `jsonrpc` string, required — JSON-RPC version
  - `method` string, required — The RPC method to be invoked
  - `id` integer, required — Request identifier
  - `params` unknown[], required — Parameters for generating proofs
    - unknown

## Response `200`

Returns the account details and proofs for storage keys

- object
  - `jsonrpc` string
  - `result` object
    - `address` string — Account address associated with the storage proofs
    - `storageProof` object[]
      - `key` string — Storage key for which the proof is provided
      - `value` string — Value stored in the specified storage key
      - `index` integer — Position of the tree entry within the Merkle tree
      - `proof` string[] — Array of hashes that constitute the Merkle path
  - `id` integer

---

[API](https://skmtc.dev/abs/apis/abstract-json-rpc-api.md) · [All operations](https://skmtc.dev/abs/apis/abstract-json-rpc-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/abs/abstract-json-rpc-api/revisions/65e951da6380/schema)
