ADAByronAddress class

Represents an ADA Byron address, a subtype of ADAAddres

Inheritance

Constructors

ADAByronAddress(String address, {ADANetwork? network})
Factory constructor to create an ADAByronAddress instance from a given address string.
factory
ADAByronAddress.fromBip32({required CardanoByronLegacyBip32 bip32, ADANetwork network = ADANetwork.mainnet})
Factory constructor to create an ADAByronAddress instance from a Bip32 structure.
factory
ADAByronAddress.fromBytes(List<int> bytes)
Factory method to create an ADAByronAddress instance from bytes.
factory
ADAByronAddress.fromIcarus({required CardanoIcarusBip32 bip32, ADANetwork network = ADANetwork.mainnet})
Factory constructor to create an ADAByronAddress instance from an Icarus structure.
factory
ADAByronAddress.fromPublicKey({required List<int> publicKey, required List<int> chaincode, List<int>? hdPathKey, String? hdPath, ADANetwork network = ADANetwork.mainnet})
Factory constructor to create an ADAByronAddress instance from a public key and chaincode.
factory
ADAByronAddress.legacy({required List<int> publicKey, required List<int> chaincode, required List<int> hdPathKey, required String hdPath, ADANetwork network = ADANetwork.mainnet})
Factory constructor to create a legacy ADAByronAddress instance.
factory
ADAByronAddress.legacyFromBip32({required CardanoByronLegacy bip32, required Bip32KeyIndex firstIndex, required Bip32KeyIndex secondIndex, ADANetwork network = ADANetwork.mainnet})
Factory constructor to create a legacy ADAByronAddress instance from a Bip32 structure.
factory

Properties

address String
The address string. (base58)
final
addressType → ADAAddressType
Returns the address type, which is ADAAddressType.byron.
no setteroverride
bech32Address String
Bech32 representation of the address.
no setteroverride
extendedAddress → ADAByronAddr
Extended address containing additional information.
final
hashCode int
The hash code for this object.
no setterinherited
isRewardAddress bool
no setterinherited
network → ADANetwork
The ADA network associated with this address.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

attributeSerialize() List<int>
Serializes the attributes of the extended address.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() List<int>
Serializes the object to CBOR bytes.
inherited
serializeHex() String
Serializes the object to hexadecimal string.
inherited
toCbor() → CborObject
Converts the ADAByronAddress instance to CBOR.
override
toJson() String
Converts the ADAAddress instance to JSON.
inherited
toString() String
Returns the string representation of the ADAAddress.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

deserialize(CborBytesValue cbor, {ADANetwork? network}) ADAByronAddress
Deserializes a CBOR object into an ADAByronAddress instance.
override