> ## 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 Withdrawals

> This endpoint retrieves the account withdrawals.



## OpenAPI

````yaml GET /v1/account/withdrawals
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/withdrawals:
    get:
      summary: Get Account Withdrawals
      description: >-
        Returns one page of your account withdrawals, most recent first. The fee
        charged for each withdrawal is reported inline via `fees`.
      operationId: getOptionsWithdrawals
      parameters:
        - $ref: '#/components/parameters/pageSize'
        - $ref: '#/components/parameters/pageToken'
      responses:
        '200':
          description: One page of withdrawals
          content:
            application/json:
              schema:
                type: object
                properties:
                  withdrawals:
                    type: array
                    description: List of withdrawal transactions for the account.
                    items:
                      type: object
                      properties:
                        type:
                          type: string
                          description: >-
                            Type of transaction. Always `OP_WITHDRAW` for
                            withdrawals.
                        market:
                          type: string
                          description: >-
                            Asset withdrawn (e.g., 'USDT'). Note: This field is
                            named 'market', but it's an asset symbol, not a
                            trading market.
                        value:
                          type: string
                          description: Amount withdrawn, net of the fee.
                        fees:
                          type: string
                          description: Withdrawal fee charged. Always present.
                        txHash:
                          type: string
                          description: >-
                            Hash of the processed withdrawal. Empty until the
                            withdrawal has been processed.
                        createdAt:
                          type: integer
                          description: Withdrawal timestamp (milliseconds since epoch).
                  nextPageToken:
                    type: string
                    description: >-
                      Cursor for the next page. Present only when a further page
                      exists.
              example:
                withdrawals:
                  - type: OP_WITHDRAW
                    market: USDT
                    value: '990'
                    fees: '10'
                    txHash: >-
                      0x19a89550272fc44a881d5e28a3619eace550b80191ef5a803163f90024d9f702
                    createdAt: 1751288400000
                nextPageToken: eyJzSyI6eyJTIjoiT1BfV0lUSERSQVcifX0
        '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

````