XRPAddress.fromPublicKeyBytes constructor
XRPAddress.fromPublicKeyBytes(
- List<
int> bytes, - XRPKeyAlgorithm algorithm
Creates an XRPAddress from a byte representation.
Implementation
factory XRPAddress.fromPublicKeyBytes(
List<int> bytes, XRPKeyAlgorithm algorithm) {
return XRPAddress._(
XrpAddrEncoder().encodeKey(bytes, {"curve_type": algorithm.curveType}),
null);
}