Skip to content

Query Delegated Transaction Details

Address: /openApi/contract/detail

Receiving Parameters

Required

Submission method: get

Submission Parameters

|Parameter Name|Required|Mandatory|Type|Example|Description| |--|--|--|--|--| |order_id|Yes|string|BM4823487423842|Order Number|

Return Parameters

Parameter Name Required Mandatory Example Description
errno Yes int 0 Return status code
errmsg Yes string 成功 Return message
result Yes object See example Return data

result Parameters

Parameter Name Required Type Example Description
order_id Yes string BG5000181583375122413SZXEIX Order number
ctime Yes int 1576746253 Transaction time
symbol Yes string ETH-USDT Trading Pair
price Yes string 1 Transaction Price
amount Yes int 0 Amount of transaction
bood Yes string 10 Margin
profit Yes string 10 Profit/Loss
fee Yes string 0 Transaction Fee

Return Example

JSON
{
    "errno": 0,
    "errmsg": "success",
    "result": [
        {
            "order_id": "BG5000181583375122413SZXEIX", //Order Number
            "ctime": 1576746253, //Transaction time
            "symbol": "ETH-USDT", //Trading pair
            "price": "1", //Transaction price
            "amount": 0, //Transaction amount
            "bood": "10", //Margin
            "profit": "10", //Profit or Loss
            "fee": "0" //Handling fee
        }
    ]
}