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

# List deposits for the authenticated client

> Returns the authenticated client's deposits, newest first. Supports filtering by account, recipient, address, status, source chain, and transaction hash. The `account` filter accepts an EVM address or a Solana public key (deposit address or swig address); `address` matches the source-chain deposit address or target-chain recipient.



## OpenAPI

````yaml https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /deposits
openapi: 3.1.0
info:
  title: Deposit Service API
  version: 1.0.0
  description: >-
    Cross-chain deposit processing service with automatic token bridging and gas
    sponsorship
servers:
  - url: https://v1.orchestrator.rhinestone.dev/deposit-processor
security: []
paths:
  /deposits:
    get:
      tags:
        - Utilities
      summary: List deposits for the authenticated client
      description: >-
        Returns the authenticated client's deposits, newest first. Supports
        filtering by account, recipient, address, status, source chain, and
        transaction hash. The `account` filter accepts an EVM address or a
        Solana public key (deposit address or swig address); `address` matches
        the source-chain deposit address or target-chain recipient.
      parameters:
        - schema:
            type: string
            description: EVM address (0x...) or Solana base58 public key
            example: '0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91'
          required: false
          description: EVM address (0x...) or Solana base58 public key
          name: account
          in: query
        - schema:
            type: string
            description: >-
              Filter by the account's recipient address. Aggregates deposits
              across every smart account that resolves to the same recipient
              (typically the integrator's user wallet).
            example: '0x2ca6f15be9580c4f332656bedc11c35bf820d08d'
          required: false
          description: >-
            Filter by the account's recipient address. Aggregates deposits
            across every smart account that resolves to the same recipient
            (typically the integrator's user wallet).
          name: recipient
          in: query
        - schema:
            type: string
            description: >-
              Filter by the source-chain deposit address or target-chain
              recipient.
            example: '0x2ca6f15be9580c4f332656bedc11c35bf820d08d'
          required: false
          description: >-
            Filter by the source-chain deposit address or target-chain
            recipient.
          name: address
          in: query
        - schema:
            type: string
            enum:
              - pending
              - processing
              - completed
              - failed
              - rejected
              - ignored
              - expecting_refund
              - refunded
              - delayed
              - awaiting_sweep
              - reconciliation_required
            description: Filter by deposit status
            example: failed
          required: false
          description: Filter by deposit status
          name: status
          in: query
        - schema:
            type: string
            pattern: ^[a-z0-9]+:[a-zA-Z0-9]+$
            description: CAIP-2 chain identifier (e.g. "eip155:8453")
            example: eip155:8453
          required: false
          description: CAIP-2 chain identifier (e.g. "eip155:8453")
          name: chain
          in: query
        - schema:
            type: string
            description: >-
              Filter by source transaction hash (EVM 0x... or Solana base58
              signature)
            example: 0xabc123...
          required: false
          description: >-
            Filter by source transaction hash (EVM 0x... or Solana base58
            signature)
          name: txHash
          in: query
        - schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
            description: Maximum number of deposits to return
            example: 20
          required: false
          description: Maximum number of deposits to return
          name: limit
          in: query
        - schema:
            type: string
            pattern: ^\d+$
            description: >-
              Pagination cursor. Use the `nextCursor` returned by the previous
              page.
            example: '123'
          required: false
          description: >-
            Pagination cursor. Use the `nextCursor` returned by the previous
            page.
          name: cursor
          in: query
        - schema:
            type: boolean
            description: >-
              When true, include spam-flagged deposits (tokens with no known
              price). Defaults to false.
            example: false
          required: false
          description: >-
            When true, include spam-flagged deposits (tokens with no known
            price). Defaults to false.
          name: includeSpam
          in: query
        - schema:
            type: string
            description: API key for authentication (omit when sending Authorization)
            example: your-api-key
          required: false
          description: API key for authentication (omit when sending Authorization)
          name: x-api-key
          in: header
        - schema:
            type: string
            description: >-
              Bearer platform token (e.g. forwarded by user-service). Takes
              precedence over `x-api-key` when both are present.
            example: Bearer eyJhbGciOi...
          required: false
          description: >-
            Bearer platform token (e.g. forwarded by user-service). Takes
            precedence over `x-api-key` when both are present.
          name: authorization
          in: header
      responses:
        '200':
          description: Client deposits
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListDepositsResponse'
        '400':
          description: Invalid query or API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Invalid or expired platform bearer token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: API key lacks required deposits scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ListDepositsResponse:
      type: object
      properties:
        deposits:
          type: array
          items:
            $ref: '#/components/schemas/DepositListItem'
        nextCursor:
          type:
            - string
            - 'null'
      required:
        - deposits
        - nextCursor
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        details:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
              path:
                type: array
                items:
                  anyOf:
                    - type: string
                    - type: number
              code:
                type: string
            required:
              - message
      required:
        - error
    DepositListItem:
      type: object
      properties:
        id:
          type: string
          description: Deposit id. Pass to GET /deposits/{id}/quotes.
          example: '12345'
        chain:
          type: string
        txHash:
          type: string
        token:
          type: string
        amount:
          type: string
          pattern: ^\d+$
          description: Numeric string representing a bigint value
          example: '1000000000000000000'
        sender:
          type: string
        recipient:
          type: string
          description: >-
            Destination-chain address that receives the funds. Falls back to the
            smart account for EVM/HyperCore/Tron when no distinct recipient is
            configured; for Solana it is the EVM recipient, never the internal
            swig.
        depositAddress:
          type: string
          description: >-
            Source-chain address that received the deposit (EVM smart account,
            Solana wallet PDA, or Tron deposit address).
        targetChain:
          type: string
        targetToken:
          type: string
        status:
          type: string
          enum:
            - pending
            - processing
            - completed
            - failed
            - rejected
            - ignored
            - expecting_refund
            - refunded
            - delayed
            - awaiting_sweep
            - reconciliation_required
        sourceTxHash:
          type:
            - string
            - 'null'
        destinationTxHash:
          type:
            - string
            - 'null'
        sourceAmount:
          type:
            - string
            - 'null'
          pattern: ^\d+$
          description: Numeric string representing a bigint value
          example: '1000000000000000000'
        destinationAmount:
          type:
            - string
            - 'null'
          pattern: ^\d+$
          description: Numeric string representing a bigint value
          example: '1000000000000000000'
        createdAt:
          type: string
        completedAt:
          type:
            - string
            - 'null'
        errorCode:
          type:
            - string
            - 'null'
        retryable:
          type: boolean
        isSpam:
          type: boolean
      required:
        - id
        - chain
        - txHash
        - token
        - amount
        - sender
        - recipient
        - depositAddress
        - targetChain
        - targetToken
        - status
        - sourceTxHash
        - destinationTxHash
        - sourceAmount
        - destinationAmount
        - createdAt
        - completedAt
        - errorCode
        - retryable
        - isSpam

````