Get Order Details

Request

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

Parameters

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

Response

Field Type Description
code Integer Response code
message String Response message
successful Boolean If the request is successful
data Object[] Order data
order_wallet_info Object[] Order information
business_name String Business line name
coin_name String Asset name
chain String Chain
storage_type String Storage type
wallet_type String Wallet type
wallet_name String Wallet name
wallet_code String Wallet ID
time_stamp Long Order creation timestamp
order_no String Order ID
applicant String Maker
amount Decimal Withdrawal amount
exchange_rate Decimal Exchange rate (USD)
miner_fee_rate Decimal Miner fee rate
description String Order description
status String Order status
inner_status String Order inner status
miner_fee Decimal Miner fee
from_address String From address
balance_not_enough Boolean If balance is enough
gas_price Decimal Gas price (for ETH series)
gas_limit Decimal Gas limit (ETH series)
max_fee_per_gas Decimal max fee
max_priority_fee_per_gas Decimal priority fee
bid String Business line ID
order_dest_address_info_vo_list Object[] Order list
-dest_address String Recipient address
-memo_type String memo type (MEMO_NONE,MEMO_TEXT,MEMO_HASH)
-memo String memo
-origin_balance Decimal Origin Withdrawal amount
-balance Decimal Actual Withdrawal amount
-remark String Order remark
tx_info_models Object Transaction information
consolidation_tx_info_models Object Consolidation tx info
miner_fee_tx_info_models Object Miner fee tx info
-tx_type String Transaction type
-block_height Long Block height
-tx_size Integer Transaction size
-tx_hash Integer tx hash
-gas_price Decimal Gas price(ETH Series)
-gas_limit Decimal Gas limit (ETH Series)
-miner_fee Decimal Miner fee (Gas usded)
partial_failed Object[] Failed order
partial_success Object[] Succeeded order
-dest_address String Recipient address
-memo_type String memo type (MEMO_NONE,MEMO_TEXT,MEMO_HASH)
-memo String memo
-origin_balance Decimal Origin Withdrawal amount
-balance Decimal Actual Withdrawal amount
-remark String Remark

Response Example

 {
    "code": 0,
    "message": "",
    "data": {
        "order_wallet_info": {
            "business_name": "BusinessLine001",
            "coin_name": "USDC",
            "wallet_type": "SEGREGATED_ADDRESS",
            "storage_type": "PRIME_HOT",
            "wallet_name": "",
            "wallet_code": "CHUSDC1036370270",
            "timestamp": 1582275952000,
            "order_no": "666666000000081",
            "applicant": "[email protected]",
            "amount": 1000,
            "exchange_rate": 1,
            "value": null,
            "miner_fee_rate": null,
            "description": "",
            "status": "FINISHED",
            "inner_status": "FINISHED",
            "miner_fee": 630000000000000,
            "from_address": "0xB6CcF826A777Da8fA0FcfAE0002172a43B05f9a1",
            "gas_price": 3000000000,
            "gas_limit": 120000,
            "order_dest_address_info_vo_list": [
                {
                    "dest_address": "0xB6CcF826A777Da8fA0FcfAE0002172a43B05f9a1",
                    "memo_type": "MEMO_TEXT",
                    "memo": "text",
                    "origin_balance": 1000,
                    "balance": 1000,
                    "remark": ""
                }
            ],
            "bid": "ed70ff75b1fe4994a3bd836befe0e87f"
        },
        "tx_info_models": [
            {
                "tx_type": "WITHDRAW",
                "block_height": 9525716,
                "tx_size": 1,
                "tx_hash": "0x9c34bb2e92056b353747d36483842e00eb4c4944e44dc38c23c3a06a1335a86f",
                "gas_price": 30000000000,
                "gas_limit": 70000,
                "miner_fee": "0"
            }
        ],
        "consolidation_tx_info_models": [
            {
                "tx_type": "CONSOLIDATION",
                "block_height": 9525716,
                "tx_size": 1,
                "tx_hash": "0x9c34bb2e92056b353747d36483842e00eb4c4944e44dc38c23c3a06a1335a86f",
                "gas_price": 30000000000,
                "gas_limit": 70000,
                "miner_fee": "0"
            }
        ],
        "miner_fee_tx_info_models": [
            {
                "tx_type": "ADVANCED_FEE",
                "block_height": 9525694,
                "tx_size": 1,
                "tx_hash": "0x2646ab7f6990ff892c277cd6c4a423907a267f5a93b8a5c53d74d077d94ae42f",
                "gas_price": 30000000000,
                "gas_limit": null,
                "miner_fee": "630000000000000"
            }
        ],
        "partial_failed": [],
        "partial_success": []
    },
    "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 ""