ADAPointerAddress class
Represents an ADA pointer address, a subtype of ADAShellyAddress.
- Inheritance
-
- Object
- ADAAddress
- ADAShellyAddress
- ADAPointerAddress
Constructors
- ADAPointerAddress(String address, {ADANetwork? network})
-
Factory method to create an ADAPointerAddress instance from a given address string.
factory
- ADAPointerAddress.fromBip32({required CardanoByronLegacyBip32 bip32, required Pointer pointer, ADANetwork network = ADANetwork.mainnet})
-
Factory constructor to create an ADAPointerAddress instance from a Bip32 structure and a pointer.
factory
- ADAPointerAddress.fromCip1852({required Cip1852 cip1585, required Pointer pointer, ADANetwork network = ADANetwork.mainnet})
-
Factory constructor to create an ADAPointerAddress instance from a CIP1852 structure and a pointer.
factory
- ADAPointerAddress.fromCredential({required StakeCred paymentCredential, required Pointer pointer, ADANetwork network = ADANetwork.mainnet})
-
Factory constructor to create an ADAPointerAddress instance from a payment credential and a pointer.
factory
- ADAPointerAddress.fromIcarus({required CardanoIcarusBip32 bip32, required Pointer pointer, ADANetwork network = ADANetwork.mainnet})
-
Factory constructor to create an ADAPointerAddress instance from an Icarus structure and a pointer.
factory
-
ADAPointerAddress.fromPublicKey({required List<
int> pubkeyBytes, required Pointer pointer, ADANetwork network = ADANetwork.mainnet}) -
Factory constructor to create an ADAPointerAddress instance from a public key and a pointer.
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
- pointer → Pointer
-
The pointer 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