> ## Documentation Index
> Fetch the complete documentation index at: https://developer.usewarp.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the verifier interface

> Returns the deployed verifier's address, chain, ABI and ready-made snippets (cURL, viem, cast, Solidity) for calling it.



## OpenAPI

````yaml /openapi.json get /v1/zk/proofs/{proofId}/interface
openapi: 3.0.3
info:
  title: Warp API
  version: 1.0.0
  description: >-
    Public Warp API: hosted checkout sessions for Pay with Warp, hosted ZK proof
    verification, and Warp Verify attestation checks.
  contact:
    name: Warp Support
    email: support@usewarp.net
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://api.usewarp.net
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Checkout sessions
    description: Create and track hosted checkout sessions.
  - name: ZK verification
    description: Verify Groth16 proofs against circuits deployed from the Warp Platform.
  - name: Attestations
    description: Public Warp Verify attestation checks.
  - name: Health
    description: Service status.
paths:
  /v1/zk/proofs/{proofId}/interface:
    get:
      tags:
        - ZK verification
      summary: Get the verifier interface
      description: >-
        Returns the deployed verifier's address, chain, ABI and ready-made
        snippets (cURL, viem, cast, Solidity) for calling it.
      operationId: getZkInterface
      parameters:
        - name: proofId
          in: path
          required: true
          description: ZK proof ID from the Warp Platform.
          schema:
            type: string
      responses:
        '200':
          description: Verifier interface
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ZkInterface'
        '401':
          description: Missing or invalid secret key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: unauthorized
                  message: Invalid API key
        '404':
          description: Not found (or owned by another project)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: not_found
                  message: Resource not found
        '409':
          description: The proof has not been compiled or deployed yet (`proof_not_ready`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: rate_limited
                  message: Too many requests. Retry after the window resets.
components:
  schemas:
    ZkInterface:
      type: object
      properties:
        contract_address:
          type: string
        chain_id:
          type: integer
        network:
          type: string
        abi:
          type: array
          items:
            type: object
        public_signal_count:
          type: integer
        snippets:
          type: object
          properties:
            curl:
              type: string
            viem:
              type: string
            cast:
              type: string
            solidity:
              type: string
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: >-
                Machine-readable error code: `invalid_request`, `unauthorized`,
                `not_found`, `proof_not_ready`, `onchain_unavailable`,
                `rate_limited` or `internal_error`.
              example: invalid_request
            message:
              type: string
              description: Human-readable description.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your project secret key: `sk_test_...` (testnet) or `sk_live_...`
        (mainnet). Use it only on your server.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.