@RolesAllowed(value="users") public class EthereumWalletAccountREST extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Constructor and Description |
|---|
EthereumWalletAccountREST(EthereumWalletService ethereumWalletService) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getAccountByAddress(String address)
Retrieves the user or space details associated to an address
|
javax.ws.rs.core.Response |
getAccountByTypeAndID(String id,
String type)
Retrieves the user or space details by username or spacePrettyName
|
javax.ws.rs.core.Response |
getTransactions(long networkId,
String address)
Get list of transactions of an address
|
javax.ws.rs.core.Response |
requestFunds(FundsRequest fundsRequest)
Sends a fund request notifications
|
javax.ws.rs.core.Response |
saveAddress(AccountDetail accountDetail)
Save address a user or space associated address
|
javax.ws.rs.core.Response |
savePreferences(UserPreferences userPreferences)
Save user preferences of Wallet
|
public EthereumWalletAccountREST(EthereumWalletService ethereumWalletService)
public javax.ws.rs.core.Response getAccountByTypeAndID(String id, String type)
id - type - public javax.ws.rs.core.Response getAccountByAddress(String address)
address - public javax.ws.rs.core.Response saveAddress(AccountDetail accountDetail)
accountDetail - public javax.ws.rs.core.Response savePreferences(UserPreferences userPreferences)
userPreferences - public javax.ws.rs.core.Response requestFunds(FundsRequest fundsRequest)
fundsRequest - public javax.ws.rs.core.Response getTransactions(long networkId,
String address)
networkId - address - Copyright © 2003–2018 eXo Platform SAS. All rights reserved.