Brief description
Request URL
Method
Parameter
Parameter name | Required | Type | Explain |
---|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
Return example
{
"code": 0,
"data": [
{
"total_margin": "1020.000000000000000000",
"total_dealt": "0.000000000000000000",
"id": 1,
"event_id": 0,
"chain_type": 1,
"underlying": "It's not going to happen tonight to admire the full moon",
"leverage": "2.0",
"trade_end_time": 1649845547,
"cat_id": 1
}
],
"extra": {
"total": 1,
"category_list": [
{
"cat_id": 1,
"cat_name": "Business"
},
{
"cat_id": 2,
"cat_name": "Chess"
},
{
"cat_id": 3,
"cat_name": "Coronavirus"
},
{
"cat_id": 4,
"cat_name": "Crypto"
},
{
"cat_id": 5,
"cat_name": "Global Politics"
}
]
}
}
Brief description
Request URL
Method
Parameter
Return example
{
"code": 0,
"data": [
{
"appeal_id": null,
"underlying": "It's not going to happen tonight to admire the full moon",
"maturity_date": 1649845547,
"total_margin": "1020.000000000000000000",
"appeal_start_time": 1650018347,
"status": 0,
"appeal_status": 0,
"occur": 0,
"cat_id": 1,
"user_total_margin": "20.000000000000000000",
"profit": "0.000000000000000000",
"appeal_end_time": "1650623147"
}
],
"extra": {
"total": 1,
"appeal_status_dict": [
"idle",
"started",
"succeed",
"failed"
],
"status_dict": [
"guarantee",
"occur",
"confirmed",
"appeal",
"end",
"cancelled"
],
"category_list": [
{
"cat_id": 1,
"cat_name": "Business"
},
{
"cat_id": 2,
"cat_name": "Chess"
},
{
"cat_id": 3,
"cat_name": "Coronavirus"
},
{
"cat_id": 4,
"cat_name": "Crypto"
},
{
"cat_id": 5,
"cat_name": "Global Politics"
}
]
}
}
Brief description
Request URL
Method
Parameter
Return example
{
"code": 0,
"data": [
{
"appeal_id": null,
"underlying": "It's not going to happen tonight to admire the full moon",
"maturity_date": 1649845547,
"total_margin": "1020.000000000000000000",
"appeal_start_time": 1650018347,
"status": 0,
"appeal_status": 0,
"occur": 0,
"cat_id": 1,
"user_total_margin": "20.000000000000000000",
"profit": "0.000000000000000000",
"appeal_end_time": "1650623147"
}
],
"extra": {
"total": 1,
"appeal_status_dict": [
"idle",
"started",
"succeed",
"failed"
],
"status_dict": [
"guarantee",
"occur",
"confirmed",
"appeal",
"end",
"cancelled"
],
"category_list": [
{
"cat_id": 1,
"cat_name": "Business"
},
{
"cat_id": 2,
"cat_name": "Chess"
},
{
"cat_id": 3,
"cat_name": "Coronavirus"
},
{
"cat_id": 4,
"cat_name": "Crypto"
},
{
"cat_id": 5,
"cat_name": "Global Politics"
}
]
}
}
Brief description
Request URL
Method
Parameter
Return example
{
"code": 0,
"data": [
{
"appeal_id": null,
"underlying": "It's not going to happen tonight to admire the full moon",
"maturity_date": 1649845547,
"total_margin": "1020.000000000000000000",
"appeal_start_time": 1650018347,
"status": 0,
"appeal_status": 0,
"occur": 0,
"cat_id": 1,
"premium": "30.000000000000000000",
"margin": "60.000000000000000000",
"appeal_end_time": "1650623147"
}
],
"extra": {
"total": 1,
"appeal_status_dict": [
"idle",
"started",
"succeed",
"failed"
],
"status_dict": [
"guarantee",
"occur",
"confirmed",
"appeal",
"end",
"cancelled"
],
"category_list": [
{
"cat_id": 1,
"cat_name": "Business"
},
{
"cat_id": 2,
"cat_name": "Chess"
},
{
"cat_id": 3,
"cat_name": "Coronavirus"
},
{
"cat_id": 4,
"cat_name": "Crypto"
},
{
"cat_id": 5,
"cat_name": "Global Politics"
}
]
}
}
Brief description
Request URL
Method
Parameter
Return example
{
"code": 0,
"data": {
"dealt": 0,
"turnover": "0.000000000000000000",
"lp_balance": "600.000000000000000000",
"record": [
{
"id": 1,
"chain_type": 1,
"type": 2,
"user": "0xf2189edf207c35101d6240e0181b9c2004bbdc47",
"event_id": 0,
"pay_token": "0xb8272d8dd058bdaf1d2c2337fde1131915318dbd",
"amount": "100.000000000000000000",
"trans_hash": "0xf8fc1185231eefbd8a538cac42e6e33b9d4d31e2690ec89c9d3e6b5c1c2a19a5",
"created_at": "2022-05-08 17:41:51",
"updated_at": "2022-05-08 17:41:51"
}
]
},
"extra": null
}
Return parameter description
Record
Remark
The information of issued is in data of cds,initial_balance is issuer initial balance, and initial_turnover is initiail turnover amount.