stellar_flutter_sdk library
Classes
- AbstractTransaction
- Account
- Represents an account in Stellar network with it's sequence number. Account object is required to build a Transaction.
- AccountCreatedEffectResponse
- Represents account_created effect response. See: Effect documentation.
- AccountCreditedEffectResponse
- Represents account_credited effect response. See: Effect documentation.
- AccountDebitedEffectResponse
- Represents account_debited effect response. See: Effect documentation.
- AccountFlag
-
Account Flags is the
enum
that can be used in SetOptionsOperation. See: Account Flags - AccountFlagsUpdatedEffectResponse
- Represents account_flags_updated effect response. See: Effect documentation.
- AccountHomeDomainUpdatedEffectResponse
- Represents account_home_domain_updated effect response. See: Effect documentation.
- AccountInflationDestinationUpdatedEffectResponse
- Represents account_inflation_destination_updated effect response. See: Effect documentation.
- AccountMergeOperation
- Represents AccountMerge operation. See: List of Operations
- AccountMergeOperationBuilder
- AccountMergeOperationResponse
- Represents the AccountMerge operation response. See: Operation documentation
- AccountRemovedEffectResponse
- Represents account_removed effect response. See: Effect documentation.
- AccountResponse
- Represents an account response received from horizon. See: Account documentation.
- AccountResponseData
- Data connected to account from the horizon account response.
- AccountResponseLinks
- Links from the account response.
- AccountsRequestBuilder
- Builds requests connected to accounts. See Account Details
- AccountThresholdsUpdatedEffectResponse
- Represents account_thresholds_updated effect response. See: Effect documentation.
- AllowTrustOperation
- Represents AllowTrust operation. See List of Operations
- AllowTrustOperationBuilder
- AllowTrustOperationResponse
- Represents the AllowTrust operation response. See: Operation documentation.
- Asset
- Base Assets class. See: Assets.
- AssetResponse
- Represents an asset response from the horizon server.
- AssetResponseLinks
- Links connected to an asset response from the horizon server.
- 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 a stellar native asset. See: lumens (XLM)
- Balance
- Represents account balance from the horizon account response.
- Base32
- BumpSequenceOperation
- Represents Bump Sequence operation. See: List of Operations
- BumpSequenceOperationBuilder
- BumpSequenceOperationResponse
- Represents BumpSequence operation response. See: Operation documentation
- ChangeTrustOperation
- Represents ChangeTrust operation. See: List of Operations
- ChangeTrustOperationBuilder
- ChangeTrustOperationResponse
- Represents ChangeTrust operation response. See Operation documentation
- CreateAccountOperation
- Represents CreateAccount operation. See: @see List of Operations
- CreateAccountOperationBuilder
- CreateAccountOperationResponse
- Represents CreateAccount operation response. See: Operation documentation.
- CreatePassiveSellOfferOperation
- Represents CreatePassiveSellOffer operation.
- CreatePassiveSellOfferOperationBuilder
- CreatePassiveSellOfferOperationResponse
- Represents CreatePassiveSellOffer operation response. See: Operation documentation
- DataCreatedEffectResponse
- Represents data_created effect response. See: Effect documentation.
- DataInput
- DataOutput
- DataRemovedEffectResponse
- Represents data_removed effect response. See: Effect documentation.
- DataUpdatedEffectResponse
- Represents data_updated effect response. See: Effect documentation.
- EffectResponse
- Abstract class for effect responses. See: Effect documentation [...]
- EffectResponseLinks
- Represents effect links.
- EffectsRequestBuilder
- Builds requests connected to effects from horizon.
-
EventListener<
T> -
This interface is used in RequestBuilder classes
stream
method. - ExtrasResultCodes
- Contains result codes for this transaction.
- FeeBumpTransaction
- Represents Fee Bump Transaction in Stellar network.
- FeeBumpTransactionBuilder
- Builds a FeeBumpTransaction object.
- FeeBumpTransactionResponse
- FeeBumpTransaction is only present in a TransactionResponse if the transaction is a fee bump transaction or is wrapped by a fee bump transaction. The object has two fields: the hash of the fee bump transaction and the signatures present in the fee bump transaction envelope.
- FeeStatsResponse
- Represents fee stats response received from the horizon server.
- Flags
- Represents account flags from the horizon account response.
- FriendBot
- InflationOperationResponse
- Represents Inflation operation response. See: Operation documentation
- InnerTransaction
- InnerTransaction is only present in a TransactionResponse if the transaction is a fee bump transaction or is wrapped by a fee bump transaction. The object has three fields: the hash of the inner transaction wrapped by the fee bump transaction, the max fee set in the inner transaction, and the signatures present in the inner transaction envelope.
- KeyPair
- Holds a Stellar keypair.
- LedgerResponse
- Represents ledger response received from the horizon server. See: Ledger documentation
- LedgerResponseLinks
- Links connected to a ledger response received from the horizon server.
- LedgersRequestBuilder
- Builds requests connected to ledgers.
- Link
- Represents the links in a response from the horizon server.
- ManageBuyOfferOperation
- Represents ManageBuyOffer operation. See: List of Operations
- ManageBuyOfferOperationBuilder
- ManageBuyOfferOperationResponse
- Represents ManageBuyOffer operation response. See: Operation documentation
- ManageDataOperation
- Represents ManageData operation. See: List of Operations.
- ManageDataOperationBuilder
- ManageDataOperationResponse
- Represents ManageDataOperation response. See: Operation documentation
- ManageSellOfferOperation
- Represents ManageSellOffer operation. See: List of Operations
- ManageSellOfferOperationBuilder
- ManageSellOfferOperationResponse
- Represents ManageSellOffer operation response. See: Operation documentation
- 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. - OfferCreatedEffectResponse
- Represents offer_created effect response. See: Effect documentation.
- OfferRemovedEffectResponse
- Represents offer_removed effect response. See: Effect documentation.
- OfferResponse
- Represents an offer response received from the horizon server. See: Offer documentation
- OfferResponseLinks
- Links connected to a offer response received from horizon.
- OffersRequestBuilder
- Builds requests connected to offers.
- OfferUpdatedEffectResponse
- Represents offer_updated effect response. See: Effect documentation.
- Operation
- Abstract class for operations.
- OperationFeeStatsRequestBuilder
- OperationResponse
- Abstract class for operation responses. See: Operation documentation
- OperationResponseLinks
- Represents the operation response links.
- OperationsRequestBuilder
- Builds requests connected to operations.
- OrderBookRequestBuilder
- Builds requests connected to order book.
- OrderBookResponse
- Represents an order book response received from the horizon server. See: Order book documentation
-
Page<
T> - Represents page of objects.
- PageLinks
- Links connected to page response.
- PathPaymentStrictReceiveOperation
- Represents PathPaymentStrictReceive operation. See: List of Operations
- PathPaymentStrictReceiveOperationBuilder
- PathPaymentStrictReceiveOperationResponse
- Represents PathPaymentStrictReceive operation response. See Operation documentation.
- PathPaymentStrictSendOperation
- Represents PathPaymentStrictSend operation. @see List of Operations
- PathPaymentStrictSendOperationBuilder
- PathPaymentStrictSendOperationResponse
- Represents PathPaymentStrictReceive operation response. See Operation documentation.
- PathResponse
- Represents a path response received from the horizon server. See: Path documentation
- PathResponseLinks
- Links connected to a path response received from horizon.
- PaymentOperation
- Represents Payment operation. See: List of Operations
- 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> - RootResponse
- Represents root endpoint response received from the horizon server.
- Row
- Represents a row in the order book response received from the horizon server.
- SequenceBumpedEffectResponse
- Represents sequence_bumped effect response.
- SetOptionsOperation
- Represents SetOptions operation. See: List of Operations
- SetOptionsOperationBuilder
- SetOptionsOperationResponse
- Represents SetOptions operation response.
- Signer
- Represents account signers from the horizon account response.
- SignerCreatedEffectResponse
- Represents signer_created effect response. See: Effect documentation.
- SignerEffectResponse
- Represents signer effects abstract opbject. See: Effect documentation.
- SignerKey
- SignerKey is a helper class that creates XdrSignerKey objects.
- SignerRemovedEffectResponse
- Represents signer_removed effect response. See: Effect documentation.
- SignerUpdatedEffectResponse
- Represents signed_updated effect response. See: Effect documentation.
- StellarSDK
- Main class of the flutter stellar sdk.
- StrictReceivePathsRequestBuilder
- Builds requests connected to paths.
- StrictSendPathsRequestBuilder
- Builds requests connected to paths.
- StrKey
- SubmitTransactionResponse
- Represents the horizon server response after submitting transaction.
- SubmitTransactionResponseExtras
- Additional information returned by the horizon server.
- Thresholds
- Represents account thresholds from the horizon account response.
- TimeBounds
- TimeBounds represents the time interval that a transaction is valid.
- TradeAggregationResponse
- Represents a trade aggregation response from horizon server.
- TradeAggregationsRequestBuilder
- Builds requests connected to trades.
- TradeEffectResponse
- Represents trade effect response. See: Effect documentation.
- TradeResponse
- Represents trades response from the horizon server. See: Trades documentation
- TradeResponseLinks
- Links connected to a trade response from the horizon server.
- TradesRequestBuilder
- Builds requests connected to trades.
- Transaction
- Represents Transaction in the Stellar network.
- TransactionBuilder
- Builds a Transaction object.
- TransactionBuilderAccount
- Specifies interface for Account object used in TransactionBuilder.
- TransactionResponse
- Represents transaction response received from the horizon server See: Transaction documentation.
- TransactionResponseLinks
- Links connected to a transaction response.
- TrustlineAuthorizationResponse
- Represents trust line authorized effects abstract opbject. See: Effect documentation.
- TrustlineAuthorizedEffectResponse
- Represents trustline_authorized effect response. See: Effect documentation.
- TrustlineAuthorizedToMaintainLiabilitiesEffectResponse
- Represents trustline_authorized to maintain liabilities effect response. See: Effect documentation.
- TrustlineCreatedEffectResponse
- Represents trustline_created effect response. See: Effect documentation.
- TrustlineCUDResponse
- Represents trust line CUD effects abstract opbject. See: Effect documentation.
- Represents trustline_deauthorized effect response. See: Effect documentation.
- TrustlineRemovedEffectResponse
- Represents trustline_removed effect response. See: Effect documentation.
- TrustlineUpdatedEffectResponse
- Represents trustline_updated effect response. See: Effect documentation.
-
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
- XdrCreatePassiveSellOfferOp
- XdrCryptoKeyType
- XdrCurve25519Public
- XdrCurve25519Secret
- XdrDataEntry
- XdrDataEntryExt
- XdrDataInputStream
- XdrDataOutputStream
- XdrDataValue
- XdrDecoratedSignature
- XdrDontHave
- XdrEnvelopeType
- XdrError
- XdrErrorCode
- XdrFeeBumpTransaction
- XdrFeeBumpTransactionEnvelope
- XdrFeeBumpTransactionExt
- XdrFeeBumpTransactionInnerTx
- 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
- XdrManageBuyOfferOp
- XdrManageDataOp
- XdrManageDataResult
- XdrManageDataResultCode
- XdrManageOfferEffect
- XdrManageOfferResult
- XdrManageOfferResultCode
- XdrManageOfferSuccessResult
- XdrManageOfferSuccessResultOffer
- XdrManageSellOfferOp
- XdrMemo
- XdrMemoType
- XdrMessageType
- XdrMuxedAccount
- XdrMuxedAccountMed25519
- XdrNodeID
- XdrOfferEntry
- XdrOfferEntryExt
- XdrOfferEntryFlags
- XdrOperation
- XdrOperationBody
- XdrOperationMeta
- XdrOperationResult
- XdrOperationResultCode
- XdrOperationResultTr
- XdrOperationType
- XdrPathPaymentResultSuccess
- XdrPathPaymentStrictReceiveOp
- XdrPathPaymentStrictReceiveResult
- XdrPathPaymentStrictReceiveResultCode
- XdrPathPaymentStrictSendOp
- XdrPathPaymentStrictSendResult
- XdrPathPaymentStrictSendResultCode
- 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
- XdrThresholds
- XdrTimeBounds
- XdrTransaction
- XdrTransactionEnvelope
- XdrTransactionExt
- XdrTransactionHistoryEntry
- XdrTransactionHistoryEntryExt
- XdrTransactionHistoryResultEntry
- XdrTransactionHistoryResultEntryExt
- XdrTransactionMeta
- XdrTransactionMetaV1
- XdrTransactionResult
- XdrTransactionResultCode
- XdrTransactionResultExt
- XdrTransactionResultPair
- XdrTransactionResultResult
- XdrTransactionResultSet
- XdrTransactionSet
- XdrTransactionSignaturePayload
- XdrTransactionSignaturePayloadTaggedTransaction
- XdrTransactionV0
- Transaction used before protocol 13.
- XdrTransactionV0Envelope
- Transaction envelope used before protocol 13.
- XdrTransactionV0Ext
- XdrTransactionV1Envelope
- XdrTrustLineEntry
- XdrTrustLineEntryExt
- XdrTrustLineEntryV1
- XdrTrustLineEntryV1Ext
- XdrTrustLineFlags
- XdrUint32
- XdrUint64
- XdrUint256
- XdrUpgradeType
- XdrValue
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
- SubmitTransactionTimeoutResponseException
- SubmitTransactionUnknownResponseException
- TooManyRequestsException
- Exception thrown when too many requests were sent to the Horizon server.