stellar library

Classes

Account
Represents an account in Stellar network with it's sequence number.
AccountCreatedEffectResponse
Represents account_created effect response.
AccountCreditedEffectResponse
Represents account_credited effect response.
AccountDebitedEffectResponse
Represents account_debited effect response.
AccountFlag
Account Flags is the enum that can be used in SetOptionsOperation.
AccountFlagsUpdatedEffectResponse
Represents account_flags_updated effect response.
AccountHomeDomainUpdatedEffectResponse
Represents account_home_domain_updated effect response.
AccountInflationDestinationUpdatedEffectResponse
Represents account_inflation_destination_updated effect response.
AccountMergeOperation
Represents AccountMerge operation.
AccountMergeOperationBuilder
AccountMergeOperationResponse
Represents AccountMerge operation response.
AccountRemovedEffectResponse
Represents account_removed effect response.
AccountResponse
Represents account response.
AccountResponseData
Data connected to account.
Links connected to account.
AccountsRequestBuilder
Builds requests connected to accounts.
AccountThresholdsUpdatedEffectResponse
Represents account_thresholds_updated effect response.
AllowTrustOperation
Represents AllowTrust operation.
AllowTrustOperationBuilder
AllowTrustOperationResponse
Represents AllowTrust operation response.
Asset
Base Assets class.
AssetResponse
Represents asset response.
Links connected to asset.
AssetsRequestBuilder
AssetTypeCreditAlphaNum
Base class for AssetTypeCreditAlphaNum4 and AssetTypeCreditAlphaNum12 subclasses.
AssetTypeCreditAlphaNum4
Represents all assets with codes 1-4 characters long.
AssetTypeCreditAlphaNum12
Represents all assets with codes 5-12 characters long.
AssetTypeNative
Represents Stellar native asset - lumens (XLM)
Balance
Represents account balance.
base32
BumpSequenceOperation
Represents Bump Sequence operation.
BumpSequenceOperationBuilder
BumpSequenceOperationResponse
Represents BumpSequence operation response.
ChangeTrustOperation
Represents ChangeTrust operation.
ChangeTrustOperationBuilder
ChangeTrustOperationResponse
Represents ChangeTrust operation response.
CreateAccountOperation
Represents CreateAccount operation.
CreateAccountOperationBuilder
CreateAccountOperationResponse
Represents CreateAccount operation response.
CreatePassiveOfferOperation
Represents CreatePassiveOffer operation.
CreatePassiveOfferOperationBuilder
CreatePassiveOfferOperationResponse
Represents CreatePassiveOffer operation response.
DataCreatedEffectResponse
Represents data_created effect response.
DataInput
DataOutput
DataRemovedEffectResponse
Represents data_removed effect response.
DataUpdatedEffectResponse
Represents data_updated effect response.
EffectResponse
Abstract class for effect responses. [...]
Represents effect links.
EffectsRequestBuilder
Builds requests connected to effects.
EventListener<T>
This interface is used in RequestBuilder classes stream method.
ExtrasResultCodes
Contains result codes for this transaction.
Flags
Represents account flags.
InflationOperationResponse
Represents Inflation operation response.
KeyPair
Holds a Stellar keypair.
LedgerResponse
Represents ledger response.
Links connected to ledger.
LedgersRequestBuilder
Builds requests connected to ledgers.
Represents links in responses.
ManageDataOperation
Represents ManageData operation.
ManageDataOperationBuilder
ManageDataOperationResponse
Represents ManageDataoperation response.
ManageOfferOperation
Represents ManageOffer operation.
ManageOfferOperationBuilder
ManageOfferOperationResponse
Represents ManageOffer operation response.
Memo
The memo contains optional extra information. It is the responsibility of the client to interpret this value. Memos can be one of the following types:
MemoHash
Represents MEMO_HASH.
MemoHashAbstract
MemoId
Represents MEMO_ID.
MemoNone
Represents MEMO_NONE.
MemoReturnHash
Represents MEMO_RETURN.
MemoText
Represents MEMO_TEXT.
Network
Network class is used to specify which Stellar network you want to use. Each network has a networkPassphrase which is hashed to every transaction id. There is no default network. You need to specify network when initializing your app by calling
OfferCreatedEffectResponse
Represents offer_created effect response.
OfferRemovedEffectResponse
Represents offer_removed effect response.
OfferResponse
Represents offer response.
Links connected to ledger.
OffersRequestBuilder
Builds requests connected to offers.
OfferUpdatedEffectResponse
Represents offer_updated effect response.
Operation
Abstract class for operations.
OperationFeeStatsRequestBuilder
OperationFeeStatsResponse
Represents fee stats response.
OperationResponse
Abstract class for operation responses. [...]
Represents operation links.
OperationsRequestBuilder
Builds requests connected to operations.
OrderBookRequestBuilder
Builds requests connected to order book.
OrderBookResponse
Represents order book response.
Page<T>
Represents page of objects.
Links connected to page response.
PathPaymentOperation
Represents PathPayment operation.
PathPaymentOperationBuilder
PathPaymentOperationResponse
Represents PathPayment operation response.
PathResponse
Represents path response.
Links connected to path.
PathsRequestBuilder
Builds requests connected to paths.
PaymentOperation
Represents Payment operation.
PaymentOperationBuilder
PaymentOperationResponse
Represents Payment operation response.
PaymentsRequestBuilder
Builds requests connected to payments.
Price
Represents Price. Price in Stellar is represented as a fraction.
RequestBuilder
Abstract class for request builders.
RequestBuilderOrder
Represents possible order parameter values.
Response
ResponseConverter
ResponseHandler<T>
Links connected to transaction.
RootResponse
Represents root endpoint response.
Row
Represents order book row.
SequenceBumpedEffectResponse
Represents sequence_bumped effect response.
Server
Main class used to connect to Horizon server.
SetOptionsOperation
Represents SetOptions operation.
SetOptionsOperationBuilder
SetOptionsOperationResponse
Represents SetOptions operation response.
Signer
Represents account signers.
SignerCreatedEffectResponse
Represents signer_created effect response.
SignerEffectResponse
SignerKey
Signer is a helper class that creates XdrSignerKey objects.
SignerRemovedEffectResponse
Represents signer_removed effect response.
SignerUpdatedEffectResponse
Represents signed_updated effect response.
StrKey
SubmitTransactionResponse
Represents server response after submitting transaction.
SubmitTransactionResponseExtras
Additional information returned by a server.
Thresholds
Represents account thresholds.
TimeBounds
TimeBounds represents the time interval that a transaction is valid.
TradeAggregationResponse
Represents trade aggregation response.
TradeAggregationsRequestBuilder
Builds requests connected to trades.
TradeEffectResponse
Represents trade effect response.
TradeResponse
Represents trades response.
Links connected to a trade.
TradesRequestBuilder
Builds requests connected to trades.
Transaction
Represents Transaction in Stellar network.
TransactionBuilder
Builds a Transaction object.
TransactionBuilderAccount
Specifies interface for Account object used in TransactionBuilder
TransactionResponse
Represents transaction response.
TransactionsRequestBuilder
Builds requests connected to transactions.
TrustlineAuthorizationResponse
TrustlineAuthorizedEffectResponse
Represents trustline_authorized effect response.
TrustlineCreatedEffectResponse
Represents trustline_created effect response.
TrustlineCUDResponse
TrustlineDeauthorizedEffectResponse
Represents trustline_deauthorized effect response.
TrustlineRemovedEffectResponse
Represents trustline_removed effect response.
TrustlineUpdatedEffectResponse
Represents trustline_updated effect response.
TypedResponse<T>
Indicates a generic container that requires type information to be provided after initialisation.
TypeToken<T>
Util
VersionByte
XdrAccountEntry
XdrAccountEntryExt
XdrAccountEntryV1
XdrAccountEntryV1Ext
XdrAccountFlags
XdrAccountID
XdrAccountMergeResult
XdrAccountMergeResultCode
XdrAllowTrustOp
XdrAllowTrustOpAsset
XdrAllowTrustResult
XdrAllowTrustResultCode
XdrAsset
XdrAssetAlphaNum4
XdrAssetAlphaNum12
XdrAssetType
XdrAuth
XdrAuthCert
XdrAuthenticatedMessage
XdrAuthenticatedMessageV0
XdrBucketEntry
XdrBucketEntryType
XdrBumpSequenceOp
XdrBumpSequenceResult
XdrBumpSequenceResultCode
XdrChangeTrustOp
XdrChangeTrustResult
XdrChangeTrustResultCode
XdrClaimOfferAtom
XdrCreateAccountOp
XdrCreateAccountResult
XdrCreateAccountResultCode
XdrCreatePassiveOfferOp
XdrCryptoKeyType
XdrCurve25519Public
XdrCurve25519Secret
XdrDataEntry
XdrDataEntryExt
XdrDataInputStream
XdrDataOutputStream
XdrDataValue
XdrDecoratedSignature
XdrDontHave
XdrEnvelopeType
XdrError
XdrErrorCode
XdrHash
XdrHello
XdrHmacSha256Key
XdrHmacSha256Mac
XdrInflationPayout
XdrInflationResult
XdrInflationResultCode
XdrInt32
XdrInt64
XdrIPAddrType
XdrLedgerEntry
XdrLedgerEntryChange
XdrLedgerEntryChanges
XdrLedgerEntryChangeType
XdrLedgerEntryData
XdrLedgerEntryExt
XdrLedgerEntryType
XdrLedgerHeader
XdrLedgerHeaderExt
XdrLedgerHeaderHistoryEntry
XdrLedgerHeaderHistoryEntryExt
XdrLedgerKey
XdrLedgerKeyAccount
XdrLedgerKeyData
XdrLedgerKeyOffer
XdrLedgerKeyTrustLine
XdrLedgerSCPMessages
XdrLedgerUpgrade
XdrLedgerUpgradeType
XdrLiabilities
XdrManageDataOp
XdrManageDataResult
XdrManageDataResultCode
XdrManageOfferEffect
XdrManageOfferOp
XdrManageOfferResult
XdrManageOfferResultCode
XdrManageOfferSuccessResult
XdrManageOfferSuccessResultOffer
XdrMemo
XdrMemoType
XdrMessageType
XdrNodeID
XdrOfferEntry
XdrOfferEntryExt
XdrOfferEntryFlags
XdrOperation
XdrOperationBody
XdrOperationMeta
XdrOperationResult
XdrOperationResultCode
XdrOperationResultTr
XdrOperationType
XdrPathPaymentOp
XdrPathPaymentResult
XdrPathPaymentResultCode
XdrPathPaymentResultSuccess
XdrPaymentOp
XdrPaymentResult
XdrPaymentResultCode
XdrPeerAddress
XdrPeerAddressIp
XdrPrice
XdrPublicKey
XdrPublicKeyType
XdrSCPBallot
XdrSCPEnvelope
XdrSCPHistoryEntry
XdrSCPHistoryEntryV0
XdrSCPNomination
XdrSCPQuorumSet
XdrSCPStatement
XdrSCPStatementConfirm
XdrSCPStatementExternalize
XdrSCPStatementPledges
XdrSCPStatementPrepare
XdrSCPStatementType
XdrSequenceNumber
XdrSetOptionsOp
XdrSetOptionsResult
XdrSetOptionsResultCode
XdrSignature
XdrSignatureHint
XdrSigner
XdrSignerKey
XdrSignerKeyType
XdrSimplePaymentResult
XdrStellarMessage
XdrStellarValue
XdrStellarValueExt
XdrString32
XdrString64
XdrThresholdIndexes
XdrThresholdIndices
XdrThresholds
XdrTimeBounds
XdrTransaction
XdrTransactionEnvelope
XdrTransactionExt
XdrTransactionHistoryEntry
XdrTransactionHistoryEntryExt
XdrTransactionHistoryResultEntry
XdrTransactionHistoryResultEntryExt
XdrTransactionMeta
XdrTransactionMetaV1
XdrTransactionResult
XdrTransactionResultCode
XdrTransactionResultExt
XdrTransactionResultPair
XdrTransactionResultResult
XdrTransactionResultSet
XdrTransactionSet
XdrTransactionSignaturePayload
XdrTransactionSignaturePayloadTaggedTransaction
XdrTrustLineEntry
XdrTrustLineEntryExt
XdrTrustLineEntryV1
XdrTrustLineEntryV1Ext
XdrTrustLineFlags
XdrUint32
XdrUint64
XdrUint256
XdrUpgradeType
XdrValue

Properties

deepEq ↔ Function
read / write
eq ↔ Function
read / write
unOrdDeepEq ↔ Function
read / write

Functions

checkArgument(bool expression, String errorMessage) → dynamic
checkNotNull(dynamic reference, String errorMessage) → dynamic
convertInt(dynamic src) → int
removeTailZero(String src) → String
serializeNull(dynamic src) → String

Exceptions / Errors

AssetCodeLengthInvalidException
Indicates that asset code is not valid for a specified asset class
ErrorResponse
Exception thrown when request returned an non-success HTTP code.
MemoTooLongException
Indicates that value passed to Memo
NoNetworkSelectedException
Indicates that no network was selected.
SubmitTransactionTimeoutResponseException
SubmitTransactionUnknownResponseException
TooManyRequestsException
Exception thrown when too many requests were sent to the Horizon server.