Submit Loan
If it is the first time to create, it is empty.
If it is the first time creating or if it is empty, the ETH wallet needs to be signed for verification upon login.
Last updated
If it is the first time to create, it is empty.
If it is the first time creating or if it is empty, the ETH wallet needs to be signed for verification upon login.
Last updated
POST /api/nexus/manage/your_lending HTTP/1.1
Host: 127.0.0.1:8090
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"code": "text",
"data": {
"total_lending": 1,
"annual_rate": "text",
"total_supply": 1,
"lending_in_progress": 1,
"average_annual_rate": "text",
"cumulative_average_apr": "text"
}
}POST /api/nexus/manage/deribit/info HTTP/1.1
Host: 127.0.0.1:8090
Content-Type: application/json
Accept: */*
Content-Length: 85
{
"signature": {
"message": "laboris",
"eth_signature": "exercitation sit adipisicing in"
}
}{
"code": 1,
"msg": "text",
"data": {
"deribit_client_id": "text",
"deribit_secret": "text"
},
"req_id": "text"
}POST /api/nexus/manage/submit_loan HTTP/1.1
Host: 127.0.0.1:8090
Content-Type: application/json
Accept: */*
Content-Length: 204
{
"total_loan": 10000,
"annual_rate": 0.2,
"deribit_client_id": "PQE4F31-",
"deribit_secret": "hD8ByJyXXJgOb3hDJ_KiMqt68ikuHjN5cjxUC41Ste0",
"signature": {
"message": "asd|s|a",
"btc_signature": "",
"eth_signature": ""
}
}{
"code": 1,
"data": {},
"msg": "text",
"req_id": "text"
}