priveKey property
SubstratePrvKey
get
priveKey
Get the private key associated with this Substrate context.
Throws a SubstrateKeyError if this context is public-only.
Implementation
SubstratePrvKey get priveKey {
final priv = _priveKey;
if (priv == null) {
throw const SubstrateKeyError(
'Public-only deterministic keys have no private half',
);
}
return priv;
}