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

# Fetch deposit events

> Returns a list of all deposit events, which can be filtered by user or vault.



## OpenAPI

````yaml /v0.1.0/api-reference/openapi.yml get /v1/vaults/deposits
openapi: 3.0.0
info:
  title: Paxos Labs API
  version: 1.0.0
  description: API for managing and querying vault data for Paxos Labs.
servers:
  - url: https://api.paxoslabs.com
security: []
tags: []
paths:
  /v1/vaults/deposits:
    get:
      tags:
        - Vaults
      summary: Fetch deposit events
      description: >-
        Returns a list of all deposit events, which can be filtered by user or
        vault.
      parameters:
        - name: vault_address
          in: query
          required: false
          description: The address of the vault. Optional.
          schema:
            type: string
            example: '0x9Ed15383940CC380fAEF0a75edacE507cC775f22'
        - name: user
          in: query
          required: false
          description: User's address. Optional.
          schema:
            type: string
            example: '0x04354e44ed31022716e77eC6320C04Eda153010c'
      responses:
        '200':
          description: Successful response with deposit events.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DepositEvent'
        '400':
          description: Invalid request (e.g., incorrect address format).
        '500':
          description: Internal server error.
components:
  schemas:
    DepositEvent:
      type: object
      properties:
        chain_id:
          type: integer
          description: ID of the blockchain.
          example: 1
        vault:
          type: string
          description: The address of the vault.
          pattern: ^0x[a-fA-F0-9]{40}$
        time:
          type: integer
          description: Unix timestamp when the deposit was made.
        tx_hash:
          type: string
          description: Transaction hash of the deposit event.
        asset:
          type: string
          description: The address of the asset deposited.
          pattern: ^0x[a-fA-F0-9]{40}$
        asset_amount:
          type: integer
          description: Amount of the asset deposited.
        share_amount:
          type: integer
          description: Amount of shares received from the deposit.
        from:
          type: string
          description: The address of the depositor.
          pattern: ^0x[a-fA-F0-9]{40}$
        to:
          type: string
          description: The address of the recipient.
          pattern: ^0x[a-fA-F0-9]{40}$

````