Get Transaction Details

Request

GET https://custody-example-url/custody/v1/api/projects/{b_id}/wallets/{wallet_code}/contract/orders/{order_no}

Parameters

Field Type Description
b_id String Business line ID
order_no String Order number

Response

Field Type Description
code Integer Response code
message String Response message
successful Boolean If the request is successful
data Object[] Order data
time_stamp Long Order creation time stamp
order_no String Order number
chain String Chain name
chain_id String Chain ID
status String Order status(FINISHED、FAILED、PROCESSING、ORDER_SEND_OUT、COMPLETED_FAILED、CANCELED)
applicant String Order maker / applicant
amount Decimal Withdrawal amount
miner_fee Decimal Miner fee for execute the contract
tx_id String Transaction hash
contract_address String Contract address
contract_data String Contract data
gas_price Decimal Gas price
gas_limit Decimal As limit
max_fee_per_gas Decimal max fee
max_priority_fee_per_gas Decimal priority fee
description String Order description
deposit_trans Object[] Deposit transaction
withdraw_trans Object[] Withdrawal transaction
-amount Decimal Amount
-coin_name String Coin/ token type

Response Example

 {
    "code": 0,
    "message": "",
    "data": {
        "time_stamp": 1608032934000,
        "miner_fee": 11354360000000000,
        "order_no": "D111111000071",
        "contract_address": "0x600103d518cc5e8f3319d532eb4e5c268d32e604",
        "contract_function": "",
        "gas_price": 20000000000,
        "gas_limit": 336417,
        "contract_data": "0x40c10f19000000000000000000000000b597cd8d3217ea6477232f9217fa70837ff667af0000000000000000000000000000000000000000000000056bc75e2d63100000",
        "applicant": "[email protected]",
        "status": "FINISHED",
        "amount": 0,
        "tx_id": "KIVl7LZyHd8h8eHypUsprpb7XdpX7VV8",
        "description": null,
        "deposit_trans": [
            {
                "amount": 1000000000000000000,
                "coin_name": "AAVE"
            }
        ],
        "withdraw_trans": []
       },
    "successful": true
}
Copyright © 2025 Cactus Custody all right reserved,powered by GitbookUpdated: 11-Oct-2023 02:47:12

results matching ""

    No results matching ""

    results matching ""

      No results matching ""