Skip to content

Delegated Transaction Details

Address/openApi/entrust/deal

Accept Parameters

Submission method: GET

Example

curl -d /openApi/entrust/deal

Submission Parameters

Parameter Name Mandatory Type Example Description
order_sn Yes String BL123456789987523 Order Number

Return Parameters

Parameter Name Required Type Example Description
errno Yes int 0 Status code
errmsg Yes success success Status message
result Yes list See example List

result Parameters Explanation

Parameter Name Required Type Example Description
order_sn Yes string BL123456789987523 Order information
trades Yes array Refer to example List of trades

trades Parameter Description

Parameter Name Mandatory Type Example Description
id Yes int 11 Transaction id
ctime Yes string Transaction time
price Yes string Price
number Yes string Quantity
total_price Yes string Transaction amount
fee Yes string Transaction Fee

Return Example

JSON
{
    "errno":0,
    "errmsg":"success",
    "result":{
        "order_sn":"BL123456789987523",
        "trades":[
            {
                "id":18,
                "ctime":"2018-10-02 10:33:33",
                "price":"0.123456",
                "number":"1.0000",
                "total_price":"0.123456",
                "fee":"0.00001"
            },
            {
                "id":19,
                "ctime":"2018-10-02 10:33:33",
                "price":"0.123456",
                "number":"1.0000",
                "total_price":"0.123456",
                "fee":"0.00001"
            }
        ]
    }
}