ToplAddress.toAddress constructor
ToplAddress.toAddress({
- required Bip32PublicKey spendCredential,
- PropositionType propositionType = const PropositionType('PublicKeyEd25519', 0x03),
- NetworkId networkId = 0x10,
Implementation
factory ToplAddress.toAddress({
required Bip32PublicKey spendCredential,
PropositionType propositionType =
const PropositionType('PublicKeyEd25519', 0x03),
NetworkId networkId = 0x10,
}) =>
generatePubKeyHashAddress(
spendCredential, networkId, propositionType.propositionName);