public class EthereumWalletTransactionService extends Object
| Constructor and Description |
|---|
EthereumWalletTransactionService(EthereumWalletAccountService walletAccountService,
TransactionStorage walletTransactionStorage,
EthereumWalletContractService contractService) |
| Modifier and Type | Method and Description |
|---|---|
List<TransactionDetail> |
getContractTransactions(Long networkId,
String contractAddress,
String accessor)
Get list of transactions for a contract
|
long |
getKnownTreatedTransactionsCount() |
TransactionDetail |
getTransactionByHash(String hash,
boolean onlyPending) |
List<TransactionDetail> |
getTransactions(long networkId,
String address,
String accessor,
boolean isAdministration) |
List<TransactionDetail> |
getWalletTransactions(Long networkId,
String address,
String accessor,
boolean isAdministration)
Get list of transactions for a wallet designated by an address
|
void |
saveTransactionDetail(TransactionDetail transactionDetail,
String modifierUsername,
boolean transactionConfirmed)
Save temporary transaction label and message and save transaction hash in
sender and receiver account
|
public EthereumWalletTransactionService(EthereumWalletAccountService walletAccountService, TransactionStorage walletTransactionStorage, EthereumWalletContractService contractService)
public List<TransactionDetail> getTransactions(long networkId, String address, String accessor, boolean isAdministration) throws IllegalAccessException
IllegalAccessExceptionpublic List<TransactionDetail> getContractTransactions(Long networkId, String contractAddress, String accessor) throws IllegalAccessException
networkId - contractAddress - accessor - IllegalAccessExceptionpublic List<TransactionDetail> getWalletTransactions(Long networkId, String address, String accessor, boolean isAdministration) throws IllegalAccessException
networkId - address - accessor - isAdministration - IllegalAccessExceptionpublic TransactionDetail getTransactionByHash(String hash, boolean onlyPending)
public void saveTransactionDetail(TransactionDetail transactionDetail, String modifierUsername, boolean transactionConfirmed) throws IllegalAccessException
transactionDetail - modifierUsername - transactionConfirmed - IllegalAccessExceptionpublic long getKnownTreatedTransactionsCount()
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.