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

# Get Transactions History

> 查询交易列表。<br/>This endpoint returns a JSON response containing the transaction history for type of deposits, withdrawals, or both. It's with pagination support.



## OpenAPI

````yaml get /v1/transaction/list
openapi: 3.0.1
info:
  title: Custodial Wallet APIs
  description: Open APIs for BisonBlock Custodial Wallet
  license:
    name: Apache 2.0
  version: V1.0.0
servers:
  - url: https://sandbox-openapi.bisonblock.ai/api
    description: BisonBlock server url for Sandbox
security: []
paths:
  /v1/transaction/list:
    get:
      tags:
        - Transactions
      summary: Get Transactions History
      description: >-
        This endpoint returns a JSON response containing the transaction history
        for type of deposits, withdrawals, or both. It's with pagination
        support.
      operationId: list_1
      parameters:
        - name: type
          in: query
          description: deposit/withdraw
          required: false
          schema:
            pattern: deposit|withdraw
            type: string
            default: ''
        - name: pageNo
          in: query
          description: The page index, starting from 1.
          required: false
          schema:
            minimum: 1
            type: integer
            format: int32
            default: 1
        - name: pageSize
          in: query
          description: >-
            The number of items per page. Page size is optional. If not
            included, the default size will be 10
          required: false
          schema:
            type: integer
            format: int32
            default: 10
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResultPageResultApiTransactionListRes'
      security:
        - BIZ-API-KEY: []
          BIZ-API-NONCE: []
          BIZ-API-SIGNATURE: []
components:
  schemas:
    ResultPageResultApiTransactionListRes:
      type: object
      properties:
        code:
          type: integer
          format: int32
          description: 0 is for success, others are for failure
        data:
          $ref: '#/components/schemas/PageResultApiTransactionListRes'
        msg:
          type: string
    PageResultApiTransactionListRes:
      type: object
      properties:
        pageNo:
          type: integer
          format: int64
          description: The current page index
        pageSize:
          type: integer
          format: int64
          description: The number of items per page.
        totalSize:
          type: integer
          format: int64
          description: The count of all items.
        totalPages:
          type: integer
          format: int64
          description: Total page count.
        list:
          type: array
          items:
            $ref: '#/components/schemas/ApiTransactionListRes'
        prevPage:
          type: integer
          format: int64
          description: The previous page index
        nextPage:
          type: integer
          format: int64
          description: The next page index
    ApiTransactionListRes:
      type: object
      properties:
        orderNo:
          type: string
          description: Order ID
        requestId:
          type: string
          description: requestId for withdrawal
        symbol:
          type: string
          description: Coin symbol code
        txHash:
          type: string
          description: Transaction hash on the blockchain
        fromAddress:
          type: string
          description: The address to withdrawal from
        toAddress:
          type: string
          description: The address to send to
        amount:
          type: string
          description: Amount
        type:
          type: string
          description: deposit/withdraw
        state:
          type: string
          description: State
        time:
          type: integer
          description: UTC timestamp in milliseconds
          format: int64
  securitySchemes:
    BIZ-API-KEY:
      type: apiKey
      in: header
      name: BIZ-API-KEY
      description: This field contains the API key.
    BIZ-API-NONCE:
      type: apiKey
      in: header
      name: BIZ-API-NONCE
      description: This field contains the nonce.
    BIZ-API-SIGNATURE:
      type: apiKey
      in: header
      name: BIZ-API-SIGNATURE
      description: This field contains the signature.

````