AIO
ZH
  • EN
  • ZH
  1. API
AIO
ZH
  • EN
  • ZH
  • 概述
  • 创建 API Key
  • 回调配置
  • 安全性
  • Pay-in
  • Pay-out
  • API
    • 用前须知
    • Get Txs
      GET
    • Get Sub Txs
      GET
    • Get Tx Info
      GET
    • Create Payin Tx
      POST
    • Create Payin Longtime Tx
      POST
    • Create Payout Tx
      POST
    • Price
      GET
    • Calculate price
      GET
  • Schemas
    • Schemas
      • CallbackReqContentData
      • CallbackSubTxData
      • CallbackTxData
      • CallbackType
      • GetSubTxData
      • SubTxDataExt
      • SubTxTokenData
      • SubTxData
      • SubTxStatus
      • GetSubTxDataResponse
      • Chain
      • ErrorResponseModel
      • PayTxData
      • PayTxStatusData
      • PayinLongTimeTxParams
      • PayinTxParams
      • PayoutSubTxParams
      • PayoutTxParams
      • PriceData
      • RedisKeyData
      • SuceedResponseModel
      • TestData
      • Token
      • TxData
      • TxDetailsData
      • TxStatus
      • TxType
      • VsToken
      • TestDataResponse
      • RedisKeyDataResponse
      • PriceDataResponse
      • PayTxDataResponse
      • PayTxStatusDataResponse
      • TxDetailsDataResponse
      • TxDataResponse
  1. API

Get Tx Info

GET
https://api.aio.cash/v2/tx/info/{txid}

Request

Path Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.aio.cash/v2/tx/info/'

Responses

🟢200OK
application/json
Successful Response
Body

Example
{
    "success": true,
    "msg": "ok",
    "data": {
        "tx": {
            "txid": "string",
            "type": "Pay In",
            "status": "Pending Approval",
            "vs_token": "USD",
            "vs_amount": "string",
            "usd": "string",
            "chain": 2,
            "token": "BTC",
            "amount": "string",
            "actual_amount": "string",
            "swap_chain": 2,
            "swap_token": "BTC",
            "swap_amount": "string",
            "addr": "string",
            "gas": "string",
            "fee": "string",
            "created_at": "2019-08-24T14:15:22Z",
            "overdue_at": "2019-08-24T14:15:22Z",
            "is_longtime_tx": true,
            "total_fee": "string",
            "total_fee_usd": "string",
            "pay_url": "string"
        },
        "sub_txs": [
            {
                "sub_txid": "string",
                "status": "Pending",
                "chain": {},
                "token": {},
                "hash": "string",
                "from_addr": "string",
                "to_addr": "string",
                "amount": 0,
                "actual_amount": 0,
                "fee": 0,
                "gas": 0,
                "created_at": "2019-08-24T14:15:22Z",
                "total_fee": "string"
            }
        ]
    }
}
🟠422Parameter Error
Previous
Get Sub Txs
Next
Create Payin Tx
Built with