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

Constructors

StellarAccountAddress(String address)
Creates a StellarAccountAddress from a string-encoded Stellar public address.
factory
StellarAccountAddress.fromPublicKey(List<int> publicKey)
Creates a StellarAccountAddress from 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 StellarAccountAddress into a StellarMuxedAddress by providing an accountId.
toPublicKey() → StellarPublicKey
inherited
toScAddress() → ScAddress
Converts this Stellar account address into an ScAddress for use in Soroban smart contracts.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited