@RolesAllowed(value="users") public class EthereumWalletTransactionREST extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Constructor and Description |
|---|
EthereumWalletTransactionREST(EthereumWalletTransactionService transactionService) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getTransactions(long networkId,
String address,
String contractAddress,
String hash,
int limit,
boolean onlyPending,
boolean administration)
Get list of transactions of an address
|
javax.ws.rs.core.Response |
saveTransactionDetails(TransactionDetail transactionDetail)
Store transaction hash in sender, receiver and contract accounts
|
public EthereumWalletTransactionREST(EthereumWalletTransactionService transactionService)
@RolesAllowed(value="users") public javax.ws.rs.core.Response saveTransactionDetails(TransactionDetail transactionDetail)
transactionDetail - transaction details to save@RolesAllowed(value="users") public javax.ws.rs.core.Response getTransactions(long networkId, String address, String contractAddress, String hash, int limit, boolean onlyPending, boolean administration)
networkId - blockchain network idaddress - wallet address to retrieve its transactionscontractAddress - filtered contract address transactionshash - transaction hash to include in the returned listlimit - transactions list limitonlyPending - whether retrieve only pending transactions of wallet or
alladministration - whether include or not administrative transactions or
notCopyright © 2003–2019 eXo Platform SAS. All rights reserved.