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

# Get shareholder proof

> Returns the proof an approved wallet uses to subscribe or receive shares. A `404` means no proof exists on the confirmed onchain list.

Get the proof a shareholder wallet supplies to the MicroVault contract.

<Note>
  MicroVaults are in private preview for enabled sandbox organizations on Ethereum Sepolia.
</Note>


## OpenAPI

````yaml swagger/swagger-combined.yaml GET /v2/microvaults/vaults/{vaultId}/shareholders/{walletAddress}/proof
openapi: 3.0.0
info:
  title: Ground API
  description: Core API for Portfolio Wallets, gtokens, MicroVaults, and webhooks.
  version: 2.0.0
servers:
  - url: https://sandbox.groundtech.co
  - url: https://production.groundtech.co
security:
  - bearerAuth: []
tags:
  - name: System
    description: System health and utility endpoints.
  - name: Sandbox Faucets
    description: Sandbox-only test token faucets.
  - name: Portfolio Wallets
    description: >-
      Portfolio wallets with strategy allocation, deposits, withdrawals, and
      yield positions.
  - name: gVaults
    description: >-
      Direct access to gtokens with deposit access controls and optional fee
      wrappers.
  - name: MicroVaults
    description: >-
      Customer-owned onchain vaults with externally held ERC-20 shares. Private
      preview in sandbox on Ethereum Sepolia.
  - name: Webhook Endpoints
    description: Webhook endpoint management for portfolio wallet notifications.
paths:
  /v2/microvaults/vaults/{vaultId}/shareholders/{walletAddress}/proof:
    parameters:
      - name: vaultId
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/UuidV4'
        description: >-
          Ground identifier of the MicroVault whose shareholder list is being
          queried or changed.
      - name: walletAddress
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/NonzeroEvmAddress'
        description: >-
          Wallet to approve for holding and receiving this MicroVault's shares,
          or to remove from that approval list.
    get:
      tags:
        - MicroVaults
      summary: Get a shareholder proof
      description: >-
        Returns the proof an approved wallet uses to subscribe or receive
        shares. A `404` means no proof exists on the confirmed onchain list.
      operationId: getMicrovaultShareholderProof
      responses:
        '200':
          description: Proof for the approved wallet.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MicroVaultShareholderProofResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: No active proof exists.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MicroVaultError'
components:
  schemas:
    UuidV4:
      type: string
      format: uuid
      pattern: >-
        ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89aAbB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$
      example: 8f4c52d7-62ab-4db9-a964-92f481f6b851
    NonzeroEvmAddress:
      type: string
      description: >-
        Valid nonzero EVM EOA or contract address. Mixed-case values must use a
        valid EIP-55 checksum.
      minLength: 42
      maxLength: 42
      pattern: ^0x(?!0{40}$)[0-9a-fA-F]{40}$
      example: '0x3bf25a73a1f1033c2d50ac65f3c9d6a44123db81'
    MicroVaultShareholderProofResponse:
      type: object
      required:
        - proof
      properties:
        proof:
          type: object
          description: >-
            Membership proof a wallet supplies when subscribing or receiving
            shares.
          required:
            - version
            - root
            - walletAddress
            - leafHash
            - proof
          properties:
            version:
              type: string
              description: Shareholder-list version used to construct this proof.
            root:
              allOf:
                - $ref: '#/components/schemas/MicroVaultBytes32'
              description: >-
                Onchain shareholder-list commitment against which this proof is
                verified.
            walletAddress:
              allOf:
                - $ref: '#/components/schemas/NonzeroEvmAddress'
              description: Wallet whose eligibility this proof establishes.
            leafHash:
              allOf:
                - $ref: '#/components/schemas/MicroVaultBytes32'
              description: Hash of the wallet's shareholder-list entry.
            proof:
              type: array
              items:
                $ref: '#/components/schemas/MicroVaultBytes32'
              description: >-
                Sibling hashes supplied to the vault contract to verify
                membership.
      example:
        proof:
          version: '2'
          root: '0x4444444444444444444444444444444444444444444444444444444444444444'
          walletAddress: '0x76f8fc6667e239f83a547d4e16225d6a34f6fa22'
          leafHash: '0x5555555555555555555555555555555555555555555555555555555555555555'
          proof: []
    MicroVaultError:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          example: invalid_request
          description: Stable machine-readable error code.
        message:
          type: string
          nullable: true
          example: allocation targets and idleTargetBps must total 10000
          description: >-
            Human-readable explanation of why the request failed, when
            available.
        details:
          nullable: true
          description: Structured context for the error, when available.
      example:
        error: invalid_request
        message: allocation targets and idleTargetBps must total 10000
    MicroVaultBytes32:
      type: string
      pattern: ^0x[0-9a-fA-F]{64}$
      example: '0x1111111111111111111111111111111111111111111111111111111111111111'
    AuthErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Authentication or authorization error message.
        message:
          type: string
          nullable: true
          description: Additional auth middleware detail, when present.
        code:
          type: string
          nullable: true
          enum:
            - unauthenticated
            - forbidden
          description: >-
            Some auth and scope failures include a stable code; middleware
            errors may omit it.
  responses:
    Unauthorized:
      description: >-
        The request is missing a valid bearer token, or the token is invalid or
        expired.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AuthErrorResponse'
          example:
            error: Unauthenticated request
            message: Missing or invalid bearer token
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````