Table of Contents

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

AccountAddress

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

Dictionary<AccountCredentialIndex, Dictionary<AccountKeyIndex, ISigner>>

Exceptions

WalletDataSourceException

An error condition occurred while trying to get the sign keys.