Skip to main content
Version: 2.x

NFT

 License: MIT 

Installation

pom.xml
<dependency>
<groupId>{{groupId}}</groupId>
<artifactId>{{artifactId}}</artifactId>
<version>{{version}}</version>
</dependency>

Client instantiation

PortfolioMarginClient client = new PortfolioMarginClient(key, secret);

Get NFT Transaction History

try{
TransactionHistory res = client.getTransactions(new TransactionHistoryParams(orderType)).sync();
}catch(ApiException e){
//...
}

Get NFT deposit History

try{
DepositHistory res = client.getDeposits().sync();
}catch(ApiException e){
//...
}

Get NFT withdraw History

try{
WithdrawHistory res = client.getWithdraws().sync();
}catch(ApiException e){
//...
}

Get NFT assets

try{
WithdrawHistory res = client.getAssets().sync();
}catch(ApiException e){
//...
}