StellarAccountAddress class
Represents a Stellar account address, which is based on an ED25519 public key.
Extends StellarAddress and provides additional functionality specific to account addresses.
- Inheritance
-
- Object
- StellarAddress
- StellarAccountAddress
Constructors
- StellarAccountAddress(String address)
-
Creates a
StellarAccountAddressfrom a string-encoded Stellar public address.factory -
StellarAccountAddress.fromPublicKey(List<
int> publicKey) -
Creates a
StellarAccountAddressfrom a raw ED25519 public key byte array.factory
Properties
- address → String
-
The address string.
no setterinherited
- baseAddress → String
-
finalinherited
- blockchainNetwork → BlockchainNetwork
-
Network this address belongs to.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serializationIdentifier → SerializationIdentifier
-
no setterinherited
-
serializationItems
→ List<
CborObject< Object?> ?> -
no setterinherited
- type → XlmAddrTypes
-
finalinherited
- variables → List
-
no setterinherited
- viewType → String?
-
Address subtype within the network (e.g. Monero's "Primary" address).
no setterinherited
Methods
-
cast<
T extends StellarAddress> () → T -
inherited
-
encodeAsIAddress(
) → BuBytes -
Encodes this address back to its raw byte representation.
inherited
-
keyBytes(
) → BuBytes -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toCbor(
) → CborTagValue< CborObject< Object?> > -
inherited
-
toMuxedAccount(
) → MuxedAccount -
inherited
-
toMuxedAddress(
BigInt accountId) → StellarMuxedAddress -
Converts the
StellarAccountAddressinto aStellarMuxedAddressby providing anaccountId. -
toPublicKey(
) → StellarPublicKey -
inherited
-
toScAddress(
) → ScAddress -
Converts this Stellar account address into an
ScAddressfor use in Soroban smart contracts.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited