ADARewardAddress class

Represents an ADA reward address, a subtype of ADAShellyAddress.

Inheritance

Constructors

ADARewardAddress(String address, {ADANetwork? network})
Factory method to create an ADARewardAddress instance from a given address string.
factory
ADARewardAddress.fromBip32({required CardanoByronLegacyBip32 bip32, ADANetwork network = ADANetwork.mainnet})
Factory method to create an ADARewardAddress instance from a Bip32 structure.
factory
ADARewardAddress.fromCip1852({required Cip1852 cip1582, ADANetwork network = ADANetwork.mainnet})
Factory method to create an ADARewardAddress instance from a CIP1852 structure.
factory
ADARewardAddress.fromCredential({required StakeCred credential, ADANetwork network = ADANetwork.mainnet})
Factory method to create an ADARewardAddress instance from a payment credential.
factory
ADARewardAddress.fromIcarus({required CardanoIcarusBip32 bip32, ADANetwork network = ADANetwork.mainnet})
Factory method to create an ADARewardAddress instance from an Icarus structure.
factory
ADARewardAddress.fromPublicKey({required List<int> pubkeyBytes, ADANetwork network = ADANetwork.mainnet})
Factory method to create an ADARewardAddress instance from a public key.
factory

Properties

address String
The address string.
final
addressType → ADAAddressType
Abstract property representing the type of ADA address.
no setteroverride
bech32Address String
Returns the Bech32 representation of the address, which is the address itself.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isRewardAddress bool
no setterinherited
network → ADANetwork
The ADA network associated with the address.
final
paymentCredential StakeCred
The payment credential associated with 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.
inherited
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