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

# zks_getL2ToL1MsgProof

`POST /zks_getL2ToL1MsgProof`

Retrieves the proof for an L2 to L1 message

## 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 the L2 to L1 message proof
    - unknown

## Response `200`

Returns the proof for the L2 to L1 message

- L2ToL1MsgProofResponse — unresolved $ref

---

[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)
