Class VaultWalletResource
java.lang.Object
dev.getelements.elements.rest.blockchain.VaultWalletResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateWallet
(String vaultId, CreateWalletRequest request) void
deleteWallet
(String vaultId, String walletId) getWallets
(int offset, int count, String userId, BlockchainApi api, List<BlockchainNetwork> network, String vaultId) void
setWalletService
(WalletService walletService) updateWallet
(String vaultId, String walletId, UpdateWalletRequest request)
-
Constructor Details
-
VaultWalletResource
public VaultWalletResource()
-
-
Method Details
-
getWallets
@GET @Produces("application/json") public Pagination<Wallet> getWallets(@QueryParam("offset") @DefaultValue("0") int offset, @QueryParam("count") @DefaultValue("20") int count, @QueryParam("userId") String userId, @QueryParam("api") BlockchainApi api, @QueryParam("network") List<BlockchainNetwork> network, @PathParam("vaultId") String vaultId) -
createWallet
@POST @Consumes("application/json") @Produces("application/json") public Wallet createWallet(@PathParam("vaultId") String vaultId, CreateWalletRequest request) -
updateWallet
@PUT @Path("{walletId}") @Consumes("application/json") @Produces("application/json") public Wallet updateWallet(@PathParam("vaultId") String vaultId, @PathParam("walletId") String walletId, UpdateWalletRequest request) -
getWallet
-
deleteWallet
-
getWalletService
-
setWalletService
-