dev
dart 23 lines 532 Bytes
Raw
1 class BitcoinWalletKeys {
2 const BitcoinWalletKeys({
3 required this.wif,
4 required this.privateKey,
5 required this.publicKey,
6 required this.xpub,
7 this.masterFingerprint = '',
8 });
9
10 final String wif;
11 final String privateKey;
12 final String publicKey;
13 final String xpub;
14 final String masterFingerprint;
15
16 Map<String, String> toJson() => {
17 'wif': wif,
18 'privateKey': privateKey,
19 'publicKey': publicKey,
20 'xpub': xpub,
21 'masterFingerprint': masterFingerprint,
22 };
23 }