@Path(value="api/v1")
@Consumes(value="application/json")
public interface DragonexAuthenticated
| Modifier and Type | Method and Description |
|---|---|
DragonResult<DealHistory> |
dealHistory(String date,
String token,
si.mazi.rescu.ParamsDigest auth,
si.mazi.rescu.ParamsDigest contentSHA1,
DealHistoryRequest orderHistory)
Request user’s records of successful trade
|
DragonResult<UserOrder> |
orderBuy(String date,
String token,
si.mazi.rescu.ParamsDigest auth,
si.mazi.rescu.ParamsDigest contentSHA1,
OrderPlacement orderPlacement)
Add new buy order
|
DragonResult<UserOrder> |
orderCancel(String date,
String token,
si.mazi.rescu.ParamsDigest auth,
si.mazi.rescu.ParamsDigest contentSHA1,
OrderReference ref)
Cancel Order
|
DragonResult<UserOrder> |
orderDetail(String date,
String token,
si.mazi.rescu.ParamsDigest auth,
si.mazi.rescu.ParamsDigest contentSHA1,
OrderReference ref)
Request details of user’s delegation records
|
DragonResult<OrderHistory> |
orderHistory(String date,
String token,
si.mazi.rescu.ParamsDigest auth,
si.mazi.rescu.ParamsDigest contentSHA1,
OrderHistoryRequest orderHistory)
Request user’s delegation records
|
DragonResult<UserOrder> |
orderSell(String date,
String token,
si.mazi.rescu.ParamsDigest auth,
si.mazi.rescu.ParamsDigest contentSHA1,
OrderPlacement orderPlacement)
Add new sell order
|
DragonResult<Token> |
tokenNew(String date,
si.mazi.rescu.ParamsDigest auth,
si.mazi.rescu.ParamsDigest contentSHA1)
Create new token
|
DragonResult<TokenStatus> |
tokenStatus(String date,
String token,
si.mazi.rescu.ParamsDigest auth,
si.mazi.rescu.ParamsDigest contentSHA1)
Token status
|
DragonResult<List<Balance>> |
userCoins(String date,
String token,
si.mazi.rescu.ParamsDigest auth,
si.mazi.rescu.ParamsDigest contentSHA1)
Query all coins you own
|
@POST @Path(value="token/new/") DragonResult<Token> tokenNew(@HeaderParam(value="date") String date, @HeaderParam(value="auth") si.mazi.rescu.ParamsDigest auth, @HeaderParam(value="content-sha1") si.mazi.rescu.ParamsDigest contentSHA1) throws DragonexException, IOException
DragonexExceptionIOException@POST @Path(value="token/status/") DragonResult<TokenStatus> tokenStatus(@HeaderParam(value="date") String date, @HeaderParam(value="token") String token, @HeaderParam(value="auth") si.mazi.rescu.ParamsDigest auth, @HeaderParam(value="content-sha1") si.mazi.rescu.ParamsDigest contentSHA1) throws DragonexException, IOException
DragonexExceptionIOException@POST @Path(value="user/own/") DragonResult<List<Balance>> userCoins(@HeaderParam(value="date") String date, @HeaderParam(value="token") String token, @HeaderParam(value="auth") si.mazi.rescu.ParamsDigest auth, @HeaderParam(value="content-sha1") si.mazi.rescu.ParamsDigest contentSHA1) throws DragonexException, IOException
DragonexExceptionIOException@POST @Path(value="order/buy/") DragonResult<UserOrder> orderBuy(@HeaderParam(value="date") String date, @HeaderParam(value="token") String token, @HeaderParam(value="auth") si.mazi.rescu.ParamsDigest auth, @HeaderParam(value="Content-Sha1") si.mazi.rescu.ParamsDigest contentSHA1, OrderPlacement orderPlacement) throws DragonexException, IOException
DragonexExceptionIOException@POST @Path(value="order/sell/") DragonResult<UserOrder> orderSell(@HeaderParam(value="date") String date, @HeaderParam(value="token") String token, @HeaderParam(value="auth") si.mazi.rescu.ParamsDigest auth, @HeaderParam(value="Content-Sha1") si.mazi.rescu.ParamsDigest contentSHA1, OrderPlacement orderPlacement) throws DragonexException, IOException
DragonexExceptionIOException@POST @Path(value="order/cancel/") DragonResult<UserOrder> orderCancel(@HeaderParam(value="date") String date, @HeaderParam(value="token") String token, @HeaderParam(value="auth") si.mazi.rescu.ParamsDigest auth, @HeaderParam(value="Content-Sha1") si.mazi.rescu.ParamsDigest contentSHA1, OrderReference ref) throws DragonexException, IOException
DragonexExceptionIOException@POST @Path(value="order/detail/") DragonResult<UserOrder> orderDetail(@HeaderParam(value="date") String date, @HeaderParam(value="token") String token, @HeaderParam(value="auth") si.mazi.rescu.ParamsDigest auth, @HeaderParam(value="Content-Sha1") si.mazi.rescu.ParamsDigest contentSHA1, OrderReference ref) throws DragonexException, IOException
DragonexExceptionIOException@POST @Path(value="order/history/") DragonResult<OrderHistory> orderHistory(@HeaderParam(value="date") String date, @HeaderParam(value="token") String token, @HeaderParam(value="auth") si.mazi.rescu.ParamsDigest auth, @HeaderParam(value="Content-Sha1") si.mazi.rescu.ParamsDigest contentSHA1, OrderHistoryRequest orderHistory) throws DragonexException, IOException
DragonexExceptionIOException@POST @Path(value="deal/history/") DragonResult<DealHistory> dealHistory(@HeaderParam(value="date") String date, @HeaderParam(value="token") String token, @HeaderParam(value="auth") si.mazi.rescu.ParamsDigest auth, @HeaderParam(value="Content-Sha1") si.mazi.rescu.ParamsDigest contentSHA1, DealHistoryRequest orderHistory) throws DragonexException, IOException
DragonexExceptionIOExceptionCopyright © 2018–2019 Knowm Inc.. All rights reserved.