Interface IWalletDataSource
- Namespace
- Concordium.Sdk.Wallets
- Assembly
- Concordium.Sdk.dll
Implementers of this interface corresponds to a data source from which a WalletAccount can be constructed.
Specifically this allows for retrieving sign key and wallet address data in a manner which is subject to failure.
public interface IWalletDataSource
Methods
TryGetAccountAddress()
Try to retrieve the wallet address from the wallet data source.
AccountAddress TryGetAccountAddress()
Returns
Exceptions
- WalletDataSourceException
An error condition occurred while trying to get the account address.
TryGetSignKeys()
Try to retrieve the sign keys from the wallet data source.
Dictionary<AccountCredentialIndex, Dictionary<AccountKeyIndex, ISigner>> TryGetSignKeys()
Returns
Exceptions
- WalletDataSourceException
An error condition occurred while trying to get the sign keys.