> ## 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 Transaction Details

> 查询交易详情。<br/>This endpoint retrieves a transaction by its ID or requestId.



## OpenAPI

````yaml get /v1/transaction/info
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/info:
    get:
      tags:
        - Transactions
      summary: Get Transaction Details
      description: This endpoint retrieves a transaction by its ID or requestId.
      operationId: info
      parameters:
        - name: orderNo
          in: query
          description: BisonBlock Unique Order ID
          required: false
          schema:
            type: string
            default: ''
        - name: requestId
          in: query
          description: requestId for withdrawal
          required: false
          schema:
            type: string
            default: ''
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResultApiTransactionDetailRes'
      security:
        - BIZ-API-KEY: []
          BIZ-API-NONCE: []
          BIZ-API-SIGNATURE: []
components:
  schemas:
    ResultApiTransactionDetailRes:
      type: object
      properties:
        code:
          type: integer
          format: int32
          description: 0 is for success, others are for failure
        data:
          $ref: '#/components/schemas/ApiTransactionDetailRes'
        msg:
          type: string
    ApiTransactionDetailRes:
      type: object
      properties:
        orderNo:
          type: string
          description: Order ID
        symbol:
          type: string
          description: Coin symbol code
        txHash:
          type: string
          description: Transaction hash on the blockchain
        requestId:
          type: string
          description: requestId for withdrawal
        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
        confirmNum:
          type: string
          description: Number of block confirmations currently
        fee:
          type: string
          description: Amount of fee
        feeSymbol:
          type: string
          description: Coin symbol code of fee
        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.

````