ToplAddress.toAddress constructor

ToplAddress.toAddress({
  1. required Bip32PublicKey spendCredential,
  2. PropositionType propositionType = const PropositionType('PublicKeyEd25519', 0x03),
  3. NetworkId networkId = 0x10,
})

Implementation

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