masterSkToPoolingAuthenticationSk static method
Future<PrivateKey>
masterSkToPoolingAuthenticationSk(
- PrivateKey masterSk,
- int poolWalletIndex,
- int index
Obtain pooling authentication private key from master private key
Implementation
static Future<PrivateKey> masterSkToPoolingAuthenticationSk(
PrivateKey masterSk,
int poolWalletIndex,
int index,
) async {
final sk = await api.pubMasterToPoolAuthentication(
sk: masterSk.byteList,
poolWalletIdx: poolWalletIndex,
idx: poolWalletIndex,
);
return PrivateKey(sk);
}