MoneroAccount.fromWatchOnly constructor
MoneroAccount.fromWatchOnly(
- List<
int> privVkey, - List<
int> pubSkey, { - MoneroCoins coinType = MoneroCoins.moneroMainnet,
Factory method to create a Monero instance from watch-only keys.
Given a privVkey
, pubSkey
, and an optional coinType
, this method constructs a
Monero instance with the associated keys and configurations.
Implementation
factory MoneroAccount.fromWatchOnly(List<int> privVkey, List<int> pubSkey,
{MoneroCoins coinType = MoneroCoins.moneroMainnet}) {
return MoneroAccount._(
privKey: privVkey, pubKey: pubSkey, coinType: coinType);
}