WalletClient

class WalletClient(walletApi: WalletApi)

Wallet client

Author

Marcus Cvjeticanin

Since

0.3.0

Parameters

walletApi

The wallet API to connect to.

Constructors

Link copied to clipboard
constructor(walletApi: WalletApi)

Functions

Link copied to clipboard

Create wallet.

Link copied to clipboard

Delete wallet.

Link copied to clipboard
suspend fun importViewWallet(importViewWalletRequest: ImportViewWalletRequest): StatusResponse?

Import view wallet.

Link copied to clipboard
suspend fun importWalletWithKey(importWalletWithKeyRequest: ImportWalletWithKeyRequest): StatusResponse?

Import wallet with key.

Link copied to clipboard
suspend fun importWalletWithSeed(importWalletWithSeedRequest: ImportWalletWithSeedRequest): StatusResponse?

Import wallet with seed.

Link copied to clipboard
suspend fun openWallet(): StatusResponse?

Open a wallet.

Link copied to clipboard
suspend fun resetWallet(resetWalletRequest: ResetWalletRequest): StatusResponse?

Reset wallet.

Link copied to clipboard
suspend fun saveWallet(): StatusResponse?

Save wallet.