ADAAddress class abstract

Represents an abstract class for ADA addresses with serialization capabilities.

Mixed in types
Implementers

Constructors

ADAAddress.init()
Default constructor for ADAAddress.
const

Properties

address String
Abstract property representing the address string.
final
addressType → ADAAddressType
Abstract property representing the type of ADA address.
final
bech32Address String
Abstract property representing the Bech32 address.
final
hashCode int
The hash code for this object.
no setteroverride
isRewardAddress bool
no setter
network → ADANetwork
Abstract property representing the ADA network.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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 object to a CBOR object.
inherited
toJson() String
Converts the ADAAddress instance to JSON.
override
toString() String
Returns the string representation of the ADAAddress.
override

Operators

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

Static Methods

deserialize<T extends ADAAddress>(CborBytesValue cbor) → T
Deserializes a CBOR object into an ADAAddress instance.
fromAddress<T extends ADAAddress>(String address, {ADANetwork? network}) → T
Factory method to create an ADAAddress instance from a given address string.
fromBytes<T extends ADAAddress>(List<int> bytes) → T
Factory method to create an ADAAddress instance from bytes.