ADAShellyAddress class abstract
Represents an abstract class for Shelley addresses, a subtype of ADAAddress.
- Inheritance
-
- Object
- ADAAddress
- ADAShellyAddress
- Implementers
Constructors
- ADAShellyAddress.fromAddress(String address, {ADANetwork? network})
-
Factory method to create an ADAShellyAddress instance from a given address string.
factory
- ADAShellyAddress.init()
-
Constructor for ADAShellyAddress.
const
Properties
- address → String
-
Abstract property representing the address string.
finalinherited
- addressType → ADAAddressType
-
Abstract property representing the type of ADA address.
finalinherited
- bech32Address → String
-
Returns the Bech32 representation of the address, which is the address itself.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRewardAddress → bool
-
no setterinherited
- network → ADANetwork
-
Abstract property representing the ADA network.
finalinherited
- paymentCredential → StakeCred
-
Abstract property representing the payment credential of the address.
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 ADAAddress 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<
T extends ADAShellyAddress> (CborBytesValue cbor) → T -
Deserializes a CBOR object into an ADAShellyAddress instance.
override
-
fromBytes<
T extends ADAShellyAddress> (List< int> bytes) → T -
Factory method to create an ADAShellyAddress instance from bytes.
override