Get Connected Wallet Transaction History

Request

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

Parameters

Field Type Description
b_id String Business line ID
wallet_code String Wallet ID
keywordOptional String Keyword(can refer to order ID, withdrawal order maker/applicant, contract address)
sortByTimeOptional String Sort by time(DESC、ASC , default is DESC Sort by descending creation time)
statusOptional String Order Status
chain String Cactus chain name
Allowed Value: Refer to Cactus Network Name (For API) column in Supported Token
startTimeOptional Integer Filter order start timestamp
endTimeOptional Integer Filter order end timestamp
limitOptional Integer Limit default as 10
offsetOptional Integer Offset default as 0

Response

Field Type Description
code Integer Response code
message String Response message
successful Boolean If the request is successful
data Object[] Response data
offset Integer Offset
limit Integer Limit
list Object[] Order list
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 Gas 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[] Withdraw transaction
-amount Decimal Amount
-coin_name String Coin/ token type

Response Example

{
    "code": 0,
    "message": "",
    "data": {
        "offset": 0,
        "limit": 10,
        "list": [
           {
               "time_stamp": 1607940309000,
               "miner_fee": 4489280000000000,
               "order_no": "D666666000001",
               "contract_address": "0xf8ac10e65f2073460aad5f28e1eabe807dc287cf",
               "gas_price": 20000000000,
               "gas_limit": 274556,
               "contract_data": "0x58c22be7000000000000000000000000018050e30e4bf1cf79bb8b8c2297aa750da045440000000000000000000000000000000000000000000000000000000000000000",
               "applicant": "[email protected]",
               "status": "FINISHED",
               "amount": 10000000000000000,
               "description": null,
               "tx_id": "0x2c9b57d499dfcbe7a1bac2461d39471b2d6da46b9b81620b93b4e5e8b9e41fb6",
               "deposit_trans": [
                   {
                       "amount": 10000000000000000,
                       "coin_name": "AWETH"
                   }
               ],
               "withdraw_trans": [
                   {
                       "amount": 10000000000000000,
                       "coin_name": "ETH"
                   }
               ]
           }
        ],
        "total": 1
    },
    "successful": true
}
Copyright © 2025 Cactus Custody all right reserved,powered by GitbookUpdated: 17-Apr-2025 10:11:15

results matching ""

    No results matching ""

    results matching ""

      No results matching ""