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

# Get Account Deposits

> This endpoint retrieves the account deposits.



## OpenAPI

````yaml GET /v1/account/deposits
openapi: 3.1.0
info:
  title: Options API
  version: 1.0.0
  description: >-
    REST endpoints for Rails Options. Base URLs vary by environment — see the
    Environments page. Authorize with the access token obtained from the Auth
    API.
servers:
  - url: https://api-options.sandbox.rails.xyz
security:
  - bearerAuth: []
paths:
  /v1/account/deposits:
    get:
      summary: Get Account Deposits
      description: Returns one page of your account deposits, most recent first.
      operationId: getOptionsDeposits
      parameters:
        - $ref: '#/components/parameters/pageSize'
        - $ref: '#/components/parameters/pageToken'
      responses:
        '200':
          description: One page of deposits
          content:
            application/json:
              schema:
                type: object
                properties:
                  deposits:
                    type: array
                    description: List of deposit transactions for the account.
                    items:
                      type: object
                      properties:
                        type:
                          type: string
                          description: >-
                            Type of transaction. Always `OP_DEPOSIT` for
                            deposits.
                        market:
                          type: string
                          description: >-
                            Asset deposited (e.g., 'USDT'). Note: This field is
                            named 'market', but it's an asset symbol, not a
                            trading market.
                        value:
                          type: string
                          description: Amount deposited.
                        refChainTxId:
                          type: string
                          description: Blockchain transaction hash for the deposit.
                        createdAt:
                          type: integer
                          description: Deposit timestamp (milliseconds since epoch).
                  nextPageToken:
                    type: string
                    description: >-
                      Cursor for the next page. Present only when a further page
                      exists.
              example:
                deposits:
                  - type: OP_DEPOSIT
                    market: USDT
                    value: '1000'
                    refChainTxId: >-
                      0x19a89550272fc44a881d5e28a3619eace550b80191ef5a803163f90024d9f702
                    createdAt: 1751284800000
                nextPageToken: eyJzSyI6eyJTIjoiT1BfREVQT1NJVCJ9fQ
        '400':
          description: Malformed `pageToken`
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                badPageToken:
                  summary: pageToken is not a valid cursor
                  value:
                    error: 'pageToken: txfeed: invalid page token'
components:
  parameters:
    pageSize:
      name: pageSize
      in: query
      required: false
      description: Items per page.
      schema:
        type: integer
        default: 50
        maximum: 200
    pageToken:
      name: pageToken
      in: query
      required: false
      description: >-
        Opaque cursor taken from the previous response's `nextPageToken`. Omit
        for the first page. A token is scoped to the endpoint that issued it.
      schema:
        type: string
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````