encodeMultiEd25519Key method
String
encodeMultiEd25519Key({
- required List<
ED25519PublicKey> publicKeys, - required int threshold,
Returns the encoded MultiEd25519 address.
Implementation
String encodeMultiEd25519Key({
required List<ED25519PublicKey> publicKeys,
required int threshold,
}) {
final addressBytes = AptosAddressUtils.encodeMultiEd25519Key(
publicKeys,
threshold,
);
return BytesUtils.toHexString(
addressBytes,
prefix: AddrKeyValidator.getConfigArg(
CoinsConf.aptos.params.addrPrefix,
"addrPrefix",
),
);
}