stellar_dart library
A Dart SDK for the Stellar network: keypairs and addresses, XDR ledger models, transaction building and signing, and Horizon/Soroban RPC clients.
Classes
- AccountEntry
- AccountEntryExt
- AccountEntryExtensionV1
- AccountEntryExtensionV2
- AccountEntryExtensionV2Ext
- AccountEntryExtensionV3
- AccountEntryExtensionV3Ext
- AccountMergeOperation
- AccountMerge Transfers native balance to destination account. Threshold: high Result : AccountMergeResult
- AccountMergeResult
- AccountMergeResultCode
- AccountMergeResultSuccess
- AccountMergeResultVoid
- AllowTrustOperation
- Updates the "authorized" flag of an existing trust line this is called by the issuer of the related asset.
- AllowTrustResult
- AllowTrustResultCode
- AllowTrustResultVoid
- AssetCode
- AssetCode12
- AssetCode4
- AssetType
- AuthFlag
- BeginSponsoringFutureReservesOperation
- BeginSponsoringFutureReserves Establishes the is-sponsoring-future-reserves-for relationship between the source account and sponsoredID Threshold: med Result: BeginSponsoringFutureReservesResult
- BeginSponsoringFutureReservesResult
- BeginSponsoringFutureReservesResultCode
- BeginSponsoringFutureReservesResultVoid
- BuAead
- BuBytes
- Rule violations in BuBytes / SecretBytes throw BuError.
- BuConfig
-
Backend selection for
Bu.init. - BuErrorType
-
Machine-readable error kind. Implemented by DefaultErrorType (core)
and per-chain enums (e.g.
MoneroErrorType,ZcashErrorType).identifiermust be globally unique; core reserves 0-999. - BuHashApi
- BuMoneroApi
- Monero RingCT API (Bulletproofs+).
- BuMoneroScanAccount
-
One account's scan keys: secret view key (32) + subaddress spend
pubkeys (each 32). Match
addressPosindexes into spendPubs. - BuMoneroScanOutput
- One output's scan data: output key (32), tx pubkey (32), optional per-output additional pubkey, optional view tag byte (null = absent, e.g. pre-v0.18 outputs), and the real output index within its transaction (null = use the output's position in the batch; only correct when scanning a single transaction with no skipped outputs).
- BuMoneroUnlockMatch
-
One matched output.
derivation+derivedPkfeed amount decode and key-image computation downstream. - BumpSequenceOperation
- Bump Sequence increases the sequence to a given level Threshold: low Result: BumpSequenceResult
- BumpSequenceResult
- BumpSequenceResultCode
- BumpSequenceResultVoid
-
BuSerializableHash<
STATE extends BuHashState> - ChangeTrustOperation
- Creates, updates or deletes a trust line Threshold: med Result: ChangeTrustResult
- ChangeTrustResult
- ChangeTrustResultCode
- ChangeTrustResultVoid
- ClaimableBalanceEntry
- ClaimableBalanceEntryExt
- ClaimableBalanceEntryExtensionV1
- ClaimableBalanceId
- ClaimableBalanceIdType
- ClaimableBalanceIdV0
- Claimant
- ClaimantType
- ClaimantV0
- ClaimAtom
- ClaimAtomType
- ClaimClaimableBalanceOperation
- Claims a claimable balance entry Threshold: low Result: ClaimClaimableBalanceResult
- ClaimClaimableBalanceResult
- ClaimClaimableBalanceResultCode
- ClaimClaimableBalanceResultVoid
- ClaimLiquidityAtom
- ClaimOfferAtom
- ClaimOfferAtomV0
- ClaimPredicate
- ClaimPredicateAnd
- ClaimPredicateBeforeAbsoluteTime
- ClaimPredicateBeforeRelativeTime
- ClaimPredicateNot
- ClaimPredicateOr
- ClaimPredicateType
- ClaimPredicateUnconditional
- ClawbackClaimableBalanceOperation
- Claws back a claimable balance Threshold: med Result: ClawbackClaimableBalanceResult
- ClawbackClaimableBalanceResult
- ClawbackClaimableBalanceResultCode
- ClawbackClaimableBalanceResultVoid
- ClawbackOperation
- Claws back an amount of an asset from an account Threshold: med Result: ClawbackResult
- ClawbackResult
- ClawbackResultCode
- ClawbackResultVoid
- ConfigSetting
- ConfigSettingBucketlistSizeWindow
- ConfigSettingContractBandwidthV0
- Bandwidth related data settings for contracts. We consider bandwidth to only be consumed by the transaction envelopes, hence this concerns only transaction sizes.
- ConfigSettingContractComputeV0
- ConfigSettingContractCostParamsCpuInstructions
- ConfigSettingContractCostParamsMemoryBytes
- ConfigSettingContractDataEntrySizeBytes
- ConfigSettingContractDataKeySizeBytes
- ConfigSettingContractEventsV0
- Contract event-related settings.
- ConfigSettingContractExecutionLanesV0
- General “Soroban execution lane” settings
- ConfigSettingContractHistoricalDataV0
- Historical data (pushed to core archives) settings for contracts.
- ConfigSettingContractLedgerCostV0
- Ledger access settings for contracts.
- ConfigSettingContractMaxSizeBytes
- ConfigSettingContractStateArchivalSettings
- ConfigSettingEntry
- ConfigSettingEvictionIterator
- ConfigSettingId
- ContractCodeCostInputs
- ContractCodeEntry
- ContractCodeEntryExt
- ContractCodeEntryV1
- ContractCostParamEntry
- ContractCostType
-
XDR
ContractCostType(stellar-xdr v30.0, 95 entries). Indexes the per-cost-type calibration rows inConfigSettingContractCostParams*entries. - ContractDataDurability
- ContractDataEntry
- ContractExecutable
- ContractExecutableExternalRef
-
XDR
ContractExecutableExternalRef(CAP-85): an executable managed by another contract (executableOwner) and referenced by atag. - ContractExecutableStellarAsset
- ContractExecutableType
- ContractExecutableWasmHash
- ContractIdPreimage
- ContractIdPreimageFromAddress
- ContractIdPreimageFromAsset
- ContractIdPreimageType
- CreateAccountOperation
- Creates and funds a new account with the specified starting balance. Threshold: med Result: CreateAccountResult
- CreateAccountResult
- CreateAccountResultCode
- CreateAccountResultVoid
- CreateClaimableBalanceOperation
- Creates a claimable balance entry Threshold: med Result: CreateClaimableBalanceResult
- CreateClaimableBalanceResult
- CreateClaimableBalanceResultCode
- CreateClaimableBalanceResultSuccess
- CreateClaimableBalanceResultVoid
- CreateContractArgs
- CreateContractArgsV2
-
XDR
CreateContractArgsV2: create-contract args plus the constructor arguments (protocol 22+). - CreatePassiveSellOfferOperation
- Creates an offer that doesn't take offers of the same price Threshold: med Result: CreatePassiveSellOfferResult
- CreatePassiveSellOfferResult
- CreatePassiveSellOfferResultSuccess
- CreatePassiveSellOfferResultVoid
- DataEntry
- DecoratedSignature
- DefaultStellarQuickClient
- EndSponsoringFutureReservesOperation
- Ends a sponsorship started by BeginSponsoringFutureReserves.
- EndSponsoringFutureReservesResult
- EndSponsoringFutureReservesResultCode
- EndSponsoringFutureReservesResultVoid
-
Envelope<
T extends StellarTransaction> - EnvelopeType
- EvictionIterator
- ExtendFootprintTTLOperation
- Extend the TTL of the entries specified in the readOnly footprint so they will live at least extendTo ledgers from lcl. Threshold: low Result: ExtendFootprintTTLResult
- ExtendFootprintTTLResult
- ExtendFootprintTTLResultCode
- ExtendFootprintTTLResultVoid
- ExtensionPointType
- ExtentionPointVoid
- FeeBumpTransactionEnvelope
- HorizonAccount
- HorizonAccountEmbedded
- HorizonAccountEmbeddedRecordsItem
- HorizonAccountEmbeddedRecordsItemBalancesItem
- HorizonAccountEmbeddedRecordsItemBalancesItemBalanceLineAsset
- HorizonAccountEmbeddedRecordsItemBalancesItemBalanceLineLiquidityPool
- HorizonAccountEmbeddedRecordsItemBalancesItemBalanceLineNative
- HorizonAccountEmbeddedRecordsItemLinks
- HorizonAccountMerge
- HorizonAccountMergeLinks
- HorizonAsset
- HorizonAsset2
- HorizonAssetBalanceChange
- HorizonAssetEmbedded
- HorizonAssetEmbeddedRecordsItem
- HorizonAssetEmbeddedRecordsItemAccounts
- HorizonAssetEmbeddedRecordsItemBalances
- HorizonAssetEmbeddedRecordsItemFlags
- HorizonAssetEmbeddedRecordsItemLinks
- HorizonAsyncTransactionSubmissionResponse
- POST /transactions_async (response)
- HorizonBalanceLineAsset
- HorizonBalanceLineLiquidityPool
- HorizonBalanceLineNative
- HorizonBaseAsset
- HorizonBaseFeeDistribution
- HorizonChargedFeeDistribution
- HorizonClaimableBalance
- GET /claimable_balances/{claimable_balance_id} (response)
- HorizonClaimableBalanceClaimantsItem
- HorizonClaimableBalanceClaimantsItemPredicate
- HorizonClaimableBalanceClaimantsItemPredicateAndItem
- HorizonClaimableBalanceClaimantsItemPredicateAndItemNot
- HorizonClaimableBalanceClaimantsItemPredicateAndItemOrItem
- HorizonClaimableBalanceFlags
- GET /claimable_balances/{claimable_balance_id} (response)
- HorizonClaimableBalanceLinks
- HorizonClaimableBalances
- HorizonClaimableBalancesEmbedded
- HorizonClaimableBalancesEmbeddedRecordsItem
- HorizonCreateAccount
- HorizonEffect
- HorizonEffectEmbedded
- HorizonEffectEmbeddedRecordsItem
- HorizonEffectEmbeddedRecordsItemLinks
- HorizonFeeBumpTransaction
- HorizonFeeStats
- GET /fee_stats (response)
- HorizonFeeStatsFeeCharged
- Information about the fee charged for transactions in the last 5 ledgers.
- HorizonFlags
- HorizonHostFunctionParameter
- HorizonInnerTransaction
- HorizonInvokeHostFunction
- HorizonLedger
- GET /ledgers/{sequence} (response) GET /ledgers (response)
- HorizonLedgerEmbedded
- HorizonLedgerEmbeddedRecordsItem
- HorizonLedgerEmbeddedRecordsItemLinks
- HorizonLink
- HorizonLinks
- HorizonLinksLinks
- HorizonLiquidityPool
- GET /liquidity_pools/{liquidity_pool_id} (response)
- HorizonLiquidityPoolReserves
- HorizonLiquidityPools
- HorizonLiquidityPoolsEmbedded
- HorizonLiquidityPoolsEmbeddedRecordsItem
- HorizonMaxFeeDistribution
- HorizonOffer
- HorizonOfferEmbedded
- HorizonOfferEmbeddedRecordsItem
- HorizonOfferEmbeddedRecordsItemLinks
- HorizonOperation
- GET /ledgers/{sequence}/operations (response)
- HorizonOperationLinks
- HorizonOrderBook
- GET /order_book (response)
- HorizonOrderBookBase
- HorizonOrderBookBidsItem
- HorizonOrderBookBidsItemPriceR
- HorizonOrderBookCounter
- HorizonPath
- GET /paths/strict-receive (response) GET /paths/strict-send (response)
- HorizonPathEmbedded
- HorizonPathEmbeddedRecordsItem
- HorizonPathPaymentStrictReceive
- HorizonPathPaymentStrictReceivePathItem
- HorizonPathPaymentStrictSend
- HorizonPayment
- HorizonPaymentEmbedded
- HorizonPaymentEmbeddedRecordsItem
- HorizonPrice
- HorizonProblem
- POST /transactions_async (response)
-
HorizonRequest<
RESULT, RESPONSE> - v2 base for generated Horizon REST requests.
- HorizonRequestCBRetrieveRelatedOperations
- GET /claimable_balances/{claimable_balance_id}/operations
- HorizonRequestCBRetrieveRelatedTransactions
- GET /claimable_balances/{claimable_balance_id}/transactions
- HorizonRequestGetAllOffers
- GET /offers
- HorizonRequestGetAllTrades
- GET /trades
- HorizonRequestGetDataByAccountId
- GET /accounts/{account_id}/data/{key}
- HorizonRequestGetEffectsByAccountId
- GET /accounts/{account_id}/effects
- HorizonRequestGetOfferByOfferId
- GET /offers/{offer_id}
- HorizonRequestGetOffersByAccountId
- GET /accounts/{account_id}/offers
- HorizonRequestGetOperationsByAccountId
- GET /accounts/{account_id}/operations
- HorizonRequestGetPaymentsByAccountId
- GET /accounts/{account_id}/payments
- HorizonRequestGetTradesByAccountId
- GET /accounts/{account_id}/trades
- HorizonRequestGetTradesByOfferId
- GET /offers/{offer_id}/trades
- HorizonRequestGetTransactionsByAccountId
- GET /accounts/{account_id}/transactions
- HorizonRequestListAllAccounts
- GET /accounts
- HorizonRequestListAllAssets
- GET /assets
- HorizonRequestListAllClaimableBalances
- GET /claimable_balances
- HorizonRequestListAllEffects
- GET /effects
- HorizonRequestListAllLedgers
- GET /ledgers
- HorizonRequestListAllOperations
- GET /operations
- HorizonRequestListAllPayments
- GET /payments
- HorizonRequestListAllTransactions
- GET /transactions
- HorizonRequestListLiquidityPools
- GET /liquidity_pools
- HorizonRequestListStrictReceivePaymentPaths
- GET /paths/strict-receive
- HorizonRequestListStrictSendPaymentPaths
- GET /paths/strict-send
- HorizonRequestListTradeAggregations
- GET /trade_aggregations
- HorizonRequestLPRetrieveRelatedOperations
- GET /liquidity_pools/{liquidity_pool_id}/operations
- HorizonRequestLPRetrieveRelatedTransactions
- GET /liquidity_pools/{liquidity_pool_id}/transactions
- HorizonRequestRetrieveAClaimableBalance
- GET /claimable_balances/{claimable_balance_id}
- HorizonRequestRetrieveALedger
- GET /ledgers/{sequence}
- HorizonRequestRetrieveALedgersEffects
- GET /ledgers/{sequence}/effects
- HorizonRequestRetrieveALedgersOperations
- GET /ledgers/{sequence}/operations
- HorizonRequestRetrieveALedgersPayments
- GET /ledgers/{sequence}/payments
- HorizonRequestRetrieveALedgersTransactions
- GET /ledgers/{sequence}/transactions
- HorizonRequestRetrieveALiquidityPool
- GET /liquidity_pools/{liquidity_pool_id}
- HorizonRequestRetrieveAnAccount
- GET /accounts/{account_id}
- HorizonRequestRetrieveAnOperation
- GET /operations/{id}
- HorizonRequestRetrieveAnOperationsEffects
- GET /operations/{id}/effects
- HorizonRequestRetrieveAnOrderBook
- GET /order_book
- HorizonRequestRetrieveATransaction
- GET /transactions/{transaction_hash}
- HorizonRequestRetrieveATransactionsEffects
- GET /transactions/{transaction_hash}/effects
- HorizonRequestRetrieveATransactionsOperations
- GET /transactions/{transaction_hash}/operations
- HorizonRequestRetrieveATransactionsPayments
- GET /transactions/{transaction_hash}/payments
- HorizonRequestRetrieveFeeStats
- GET /fee_stats
- HorizonRequestRetrieveRelatedEffects
- GET /liquidity_pools/{liquidity_pool_id}/effects
- HorizonRequestRetrieveRelatedTrades
- GET /liquidity_pools/{liquidity_pool_id}/trades
- HorizonRequestSubmitAsyncTransaction
- POST /transactions_async
- HorizonRequestSubmitATransaction
- POST /transactions
- HorizonResolution
- NOTE: structurally-identical oneOf/anyOf branch(es) HorizonResolutionVariant1, HorizonResolutionVariant2, HorizonResolutionVariant3, HorizonResolutionVariant4, HorizonResolutionVariant5 parse as HorizonResolutionVariant0; no separate class generated.
- HorizonResolutionVariant0
- HorizonResponseGetDataByAccountId
- HorizonResponseGetOffersByAccountId
- HorizonResponseGetOperationsByAccountId
- HorizonResponseGetPaymentsByAccountId
- HorizonResponseGetTradesByAccountId
- HorizonResponseGetTransactionsByAccountId
- HorizonResponseListAllAccounts
- HorizonResponseListAllAssets
- HorizonResponseListAllClaimableBalances
- HorizonResponseListAllEffects
- HorizonResponseListAllPayments
- HorizonResponseListLiquidityPools
- HorizonResponseLPRetrieveRelatedOperations
- HorizonSigners
- HorizonSubmitTransaction
- POST /transactions (response)
- HorizonSubmitTransactionEmbedded
- HorizonSubmitTransactionEmbeddedRecordsItem
- HorizonSubmitTransactionEmbeddedRecordsItemLinks
- HorizonThresholds
- HorizonTrade
- HorizonTradeAggregation
- GET /trade_aggregations (response)
- HorizonTradeAggregationEmbedded
- HorizonTradeAggregationEmbeddedRecordsItem
- HorizonTradeEmbedded
- HorizonTradeEmbeddedRecordsItem
- HorizonTradeEmbeddedRecordsItemLinks
- HorizonTradePrice
- HorizonTransaction
- HorizonTransaction2
- GET /transactions/{transaction_hash} (response)
- HorizonTransaction2Links
- HorizonTransactionEmbedded
- HorizonTransactionEmbeddedRecordsItem
- HorizonTransactionPreconditions
- HorizonTransactionPreconditionsLedgerbounds
- HorizonTransactionPreconditionsTimebounds
- HostFunction
- HostFunctionType
- HostFunctionTypeCreateContract
- HostFunctionTypeCreateContractV2
- HostFunctionTypeInvokeContract
- HostFunctionTypeUploadContractWasm
- InflationOperation
- Inflation Runs inflation Threshold: low Result: InflationResult
- InflationPayout
- InflationResult
- InflationResultCode
- InflationResultSuccess
- InflationResultVoid
- InnerTransactionResultPair
- Int128Parts
- Int256Parts
- InvokeContractArgs
- InvokeHostFunctionOperation
- Upload Wasm, create, and invoke contracts in Soroban. Threshold: med Result: InvokeHostFunctionResult
- InvokeHostFunctionResult
- InvokeHostFunctionResultCode
- InvokeHostFunctionResultSuccess
- InvokeHostFunctionResultVoid
- LedgerBounds
- LedgerCloseValueSignature
-
XDR
LedgerCloseValueSignature: node id plus its signature. - LedgerEntry
- LedgerEntryData
- LedgerEntryExt
- LedgerEntryExtensionV1
- LedgerEntryType
- LedgerFootprint
- LedgerKey
- LedgerKeyAccount
- LedgerKeyClaimableBalance
- LedgerKeyConfigSetting
- LedgerKeyContractCode
- LedgerKeyContractData
- LedgerKeyData
- LedgerKeyLiquidityPool
- LedgerKeyOffer
- LedgerKeyTrustLine
- LedgerKeyTTL
- Liabilities
- LiquidityPoolConstantProductParameters
- LiquidityPoolDepositOperation
- Deposit assets into a liquidity pool Threshold: med Result: LiquidityPoolDepositResult
- LiquidityPoolDepositResult
- LiquidityPoolDepositResultCode
- LiquidityPoolDepositResultVoid
- LiquidityPoolEntry
- LiquidityPoolEntryBody
- LiquidityPoolEntryConstantProduct
- LiquidityPoolType
- LiquidityPoolWithdrawOperation
- Withdraw assets from a liquidity pool Threshold: med Result: LiquidityPoolWithdrawResult
- LiquidityPoolWithdrawResult
- LiquidityPoolWithdrawResultCode
- LiquidityPoolWithdrawResultVoid
- ManageBuyOfferOperation
- Creates, updates or deletes an offer with amount in terms of buying asset Threshold: med Result: ManageBuyOfferResult
- ManageBuyOfferResult
- ManageBuyOfferResultCode
- ManageBuyOfferResultSuccess
- ManageBuyOfferResultVoid
- ManageDataOperation
- Adds, Updates, or Deletes a key value pair associated with a particular account. Threshold: med Result: ManageDataResult
- ManageDataResult
- ManageDataResultCode
- ManageDataResultVoid
- ManageOfferEffect
- ManageOfferEffectCreated
- ManageOfferEffectDeleted
- ManageOfferEffectType
- ManageOfferEffectUpdated
- ManageOfferSuccessResult
- ManageSellOfferOperation
- Creates, updates or deletes an offer Threshold: med Result: ManageSellOfferResult
- ManageSellOfferResult
- ManageSellOfferResultCode
- ManageSellOfferResultSuccess
- ManageSellOfferResultVoid
- MemoType
- MuxedAccount
- MuxedAccountEd25519
- MuxedAccountMed25519
- MuxedEd25519Account
-
XDR
MuxedEd25519Account: an account key plus a 64-bit multiplexing id. - OfferEntry
- OfferEntryResult
-
Operation<
T extends OperationBody> - A transaction operation: an optional source account plus its body.
- OperationBody
- Base for the per-type payload of an Operation.
- OperationInner
- OperationLevel
- Threshold level required to authorize an operation.
- OperationResult
- OperationResultCode
- OperationResultOpInner
- OperationResultVoid
- OperationType
- The Stellar operation types.
- PathPaymentStrictReceiveOperation
- Send an amount to a destination account through a path. Threshold: med Result: PathPaymentStrictReceiveResult
- PathPaymentStrictReceiveResult
- PathPaymentStrictReceiveResultCode
- PathPaymentStrictReceiveResultNoIssuer
- PathPaymentStrictReceiveResultSuccess
- PathPaymentStrictReceiveResultVoid
- PathPaymentStrictSendOperation
- Send an amount to a destination account through a path. Threshold: med Result: PathPaymentStrictSendResult
- PathPaymentStrictSendResult
- PathPaymentStrictSendResultCode
- PathPaymentStrictSendResultVoid
- PaymentOperation
- Send an amount in specified asset to a destination account. Threshold: med Result: PaymentResult
- PaymentResult
- PaymentResultCode
- PaymentResultVoid
- Preconditions
- PreconditionsV2
- PreconditionType
- PrecondNone
- PrecondTime
- PrecondV2
- RestoreFootprintOperation
- Restore the archived entries specified in the readWrite footprint. Threshold: low Result: RestoreFootprintOp
- RestoreFootprintResult
- RestoreFootprintResultCode
- RestoreFootprintResultVoid
- RevokeSponsorship
- RevokeSponsorshipLedgerKey
- RevokeSponsorshipOperation
- If source account is not sponsored or is sponsored by the owner of the specified entry or sub-entry, then attempt to revoke the sponsorship. If source account is sponsored, then attempt to transfer the sponsorship to the sponsor of source account. Threshold: med Result: RevokeSponsorshipResult
- RevokeSponsorshipResult
- RevokeSponsorshipResultCode
- RevokeSponsorshipResultVoid
- RevokeSponsorshipSigner
- RevokeSponsorshipType
- ScAddress
- ScAddressAccountId
- ScAddressClaimableBalance
- ScAddressContract
- ScAddressLiquidityPool
- ScAddressMuxedAccount
- ScAddressMuxedContract
-
XDR
MuxedContract(CAP-84): a contract id plus a 64-bit multiplexing id. Field order isid, thencontractId. - ScAddressType
- ScContractInstance
- ScError
- ScErrorCode
- ScErrorContract
- ScErrorType
-
ScMapEntry<
K extends ScVal, V extends ScVal> - ScNonceKey
- ScSpecEntry
-
XDR
SCSpecEntryunion: one contract-spec entry. - ScSpecEntryKind
-
XDR
SCSpecEntryKinddiscriminant values. - ScSpecEventParamV0
-
XDR
SCSpecEventParamV0: one event parameter. - ScSpecEventV0
-
XDR
SCSpecEventV0: a contract event declaration. - ScSpecFunctionInputV0
-
XDR
SCSpecFunctionInputV0: one function parameter. - ScSpecFunctionV0
-
XDR
SCSpecFunctionV0: a contract function declaration. - ScSpecType
-
XDR
SCSpecTypediscriminant values (Stellar-contract-spec.x). Note the gaps (15, 18) — they are intentional in the official enum. - ScSpecTypeBytesN
-
XDR
SCSpecTypeBytesN: fixed length of a bytes-n typedef. - ScSpecTypeDef
-
XDR
SCSpecTypeDefunion: the type of a function input/output or field. - ScSpecTypeMap
-
XDR
SCSpecTypeMap: key/value typedefs of a map typedef. - ScSpecTypeOption
-
XDR
SCSpecTypeOption: the inner type of an option typedef. - ScSpecTypeResult
-
XDR
SCSpecTypeResult: ok/error typedefs of a result typedef. - ScSpecTypeTuple
-
XDR
SCSpecTypeTuple: element typedefs of a tuple typedef. - ScSpecTypeUdt
-
XDR
SCSpecTypeUDT: name of a user-defined typedef. - ScSpecTypeVec
-
XDR
SCSpecTypeVec: the element type of a vec typedef. - ScSpecUDTEnumCaseV0
-
XDR
SCSpecUDTEnumCaseV0: one enum case. - ScSpecUDTEnumV0
-
XDR
SCSpecUDTEnumV0: a user-defined enum declaration. - ScSpecUDTErrorEnumCaseV0
-
XDR
SCSpecUDTErrorEnumCaseV0: one error-enum case. - ScSpecUDTErrorEnumV0
-
XDR
SCSpecUDTErrorEnumV0: a user-defined error-enum declaration. - ScSpecUDTStructFieldV0
-
XDR
SCSpecUDTStructFieldV0: one struct field. - ScSpecUDTStructV0
-
XDR
SCSpecUDTStructV0: a user-defined struct declaration. - ScSpecUDTUnionCaseKind
-
XDR
SCSpecUDTUnionCaseV0Kinddiscriminant values. - ScSpecUDTUnionCaseTupleV0
-
XDR
SCSpecUDTUnionCaseTupleV0: a tuple union case. - ScSpecUDTUnionCaseV0
-
XDR
SCSpecUDTUnionCaseV0union: one union case. - ScSpecUDTUnionCaseVoidV0
-
XDR
SCSpecUDTUnionCaseVoidV0: a unit union case. - ScSpecUDTUnionV0
-
XDR
SCSpecUDTUnionV0: a user-defined union declaration. -
ScVal<
T> - ScValAddress
- ScValBoolean
- ScValBytes
- ScValDuration
- ScValError
- ScValI128
- ScValI256
- ScValI32
- ScValI64
- ScValInstance
- ScValKeyContractInstance
- ScValMap
- ScValNonceKey
- ScValString
- ScValSymbol
- ScValTimePoint
- ScValU128
- ScValU256
- ScValU32
- ScValU64
- ScValueType
- ScValVec
- ScValVoid
- SecretBytes
- SecretState
- Opt-in disposal for wrappers around long-lived native handles (hash contexts, AES contexts, params/proving keys).
- SetOptionsOperation
- Set Account Options updates "AccountEntry" fields. note: updating thresholds or signers requires high threshold Threshold: med or high Result: SetOptionsResult
- SetOptionsResult
- SetOptionsResultCode
- SetOptionsResultVoid
- SetTrustLineFlagsOperation
- SetTrustLineFlagsOp Updates the flags of an existing trust line. This is called by the issuer of the related asset. Threshold: low Result: SetTrustLineFlagsResult
- SetTrustLineFlagsResult
- SetTrustLineFlagsResultCode
- SetTrustLineFlagsResultVoid
- Signer
- SignerKey
- SignerKeyEd25519
- SignerKeyEd25519SignedPayload
- SignerKeyHashX
- SignerKeyPreAuthTx
- SignerKeyType
- SimplePaymentResult
- SorobanAddressCredentials
- SorobanAddressCredentialsV2
-
XDR
SorobanAddressCredentialsunder theADDRESS_V2arm (protocol 27+, CAP-71-02): same wire shape as SorobanAddressCredentials, different authorization semantics on the network side. - SorobanAddressCredentialsWithDelegates
-
XDR
SorobanAddressCredentialsWithDelegates. - SorobanAuthorizationEntry
- SorobanAuthorizedFunction
- SorobanAuthorizedFunctionType
- SorobanAuthorizedFunctionTypeContractFunction
- SorobanAuthorizedFunctionTypeCreateContractHostFunction
- SorobanAuthorizedFunctionTypeCreateContractV2HostFunction
- SorobanAuthorizedInvocation
- SorobanCredentials
- SorobanCredentialsSourceAccount
- SorobanCredentialsType
- SorobanDelegateSignature
-
XDR
SorobanDelegateSignature: one delegation link in theADDRESS_WITH_DELEGATEScredential chain. - SorobanResources
- SorobanTransactionData
- SorobanTransactionDataExt
- StateArchivalSettings
- StellarAccountAddress
-
Represents a Stellar account address, which is based on an ED25519 public key.
Extends
StellarAddressand provides additional functionality specific to account addresses. - StellarAddress
- A Stellar address (account, contract, muxed, or signed payload).
- StellarAssembledTransaction
- Result of StellarQuickClientApi.assembleTransaction: an envelope with simulation output applied, ready to sign and submit.
- StellarAsset
- StellarAssetCreditAlphanum12
- StellarAssetCreditAlphanum4
- StellarAssetMetadata
- Asset metadata resolved from an issuer's stellar.toml.
- StellarAssetNative
- should not be used in some models
- StellarClassicTransaction
- Result of StellarQuickClientApi.buildClassicTransaction: an unsigned classic transaction with its signature payload hash.
- StellarContractAddress
-
Represents a Stellar contract address, which is based on a contract ID.
Extends
StellarAddressand provides additional functionality specific to contract addresses. - StellarContractSpec
-
Reads Soroban contract-spec entries from compiled WASM bytes
(
ContractCodeEntry.code). - StellarCryptoKeyType
- StellarFeeBumpTransaction
- StellarHelper
- Conversion helpers for Stellar amounts, times and assets.
- StellarMemo
- StellarMemoHash
- StellarMemoID
- StellarMemoNone
- StellarMemoReturnHash
- StellarMemoText
- StellarMldsaHelper
-
Helpers for the Protocol 30 ML-DSA host functions (CAP-87):
verify_sig_ml_dsa_44,verify_sig_ml_dsa_65,verify_sig_ml_dsa_87. - StellarMuxedAddress
-
Represents a Stellar muxed address, which is a multiplexed account with an account ID.
Extends
StellarAddressand includes functionality specific to muxed addresses. - StellarMuxedContractAddress
-
Represents a Stellar muxed contract address (CAP-84,
W...strkey): a contract id paired with a 64-bit multiplexing id. - StellarNetwork
- A Stellar network (public, testnet, futurenet) and its passphrase.
- StellarPrice
- StellarPrivateKey
- Represents a Stellar private key using the Ed25519 cryptographic system.
-
StellarProvider<
SERVICE extends IServiceProvider< BaseServiceRequestParams, BaseGRPCServiceRequestParams> > - Facilitates communication with the stellar horizon api by making requests using a provided StellarProvider.
- StellarProviderUtils
- Internal helpers for building provider request URLs and parsing responses.
- StellarPublicKey
-
Represents a Stellar public key using the Ed25519 cryptographic system.
Extends
XDRSerializationfor XDR serialization/deserialization support. - StellarQuickClient
- Quick client: high-level Stellar calls with unified result types.
- StellarRequestDetails
- Resolved URL, method and body for an outgoing request.
- StellarRpcGetEventsParams
- Clients can request a filtered list of events emitted by a given ledger range.
- StellarRpcGetEventsParamsFiltersItem
- StellarRpcGetEventsParamsPagination
- StellarRpcGetEventsResult
- POST /getEvents (response)
- StellarRpcGetEventsResultEventsItem
- StellarRpcGetFeeStatsParams
- Statistics for charged inclusion fees. The inclusion fee statistics are calculated from the inclusion fees that were paid for the transactions to be included onto the ledger. For Soroban transactions and Stellar transactions, they each have their own inclusion fees and own surge pricing. Inclusion fees are used to prevent spam and prioritize transactions during network traffic surge.
- StellarRpcGetFeeStatsResult
- POST /getFeeStats (response)
- StellarRpcGetFeeStatsResultSorobanInclusionFee
- Inclusion fee distribution statistics for Soroban transactions
- StellarRpcGetHealthParams
- General node health check.
- StellarRpcGetHealthResult
- POST /getHealth (response)
- StellarRpcGetLatestLedgerParams
- For finding out the current latest known ledger of this node. This is a subset of the ledger info from Horizon.
- StellarRpcGetLatestLedgerResult
- POST /getLatestLedger (response)
- StellarRpcGetLedgerEntriesParams
- For reading the current value of ledger entries directly.
- StellarRpcGetLedgerEntriesResult
- POST /getLedgerEntries (response)
- StellarRpcGetLedgerEntriesResultEntriesItem
- Object containing information about an existing ledger entry.
- StellarRpcGetLedgersParams
-
The
getLedgersmethod returns a detailed list of ledgers starting from the user specified starting point that you can paginate as long as the pages fall within the history retention of their corresponding RPC provider. - StellarRpcGetLedgersResult
- POST /getLedgers (response)
- StellarRpcGetLedgersResultLedgersItem
- StellarRpcGetNetworkParams
- General information about the currently configured network. This response will contain all the information needed to successfully submit transactions to the network this node serves.
- StellarRpcGetNetworkResult
- POST /getNetwork (response)
- StellarRpcGetTransactionParams
- The getTransaction method provides details about the specified transaction. Clients are expected to periodically query this method to ascertain when a transaction has been successfully recorded on the blockchain. The stellar-rpc system maintains a bounded history of recently processed transactions and events, configured by a single history-retention-window setting expressed in ledgers, with a stock default of 120960 ledgers (about 7 days, depending on ledger cadence). Operators of private stellar-rpc instances can adjust this value. The effective time span and the range of ledgers currently available can be inspected via the getHealth method (ledgerRetentionWindow, oldestLedger, latestLedger). For debugging needs that extend beyond the retained window, it is advisable to index this data yourself, employ a third-party indexer, or query Hubble (our public BigQuery data set).
- StellarRpcGetTransactionResult
- POST /getTransaction (response)
- StellarRpcGetTransactionResultEvents
- Contains all events emitted during transaction execution.
- StellarRpcGetTransactionsParams
-
The
getTransactionsmethod return a detailed list of transactions starting from the user specified starting point that you can paginate as long as the pages fall within the history retention of their corresponding RPC provider. - StellarRpcGetTransactionsResult
- POST /getTransactions (response)
- StellarRpcGetTransactionsResultTransactionsItem
- StellarRpcGetVersionInfoParams
- Version information about the RPC and Captive core. RPC manages its own, pared-down version of Stellar Core optimized for its own subset of needs. we'll refer to this as a "Captive Core" instance.
- StellarRpcGetVersionInfoResult
- POST /getVersionInfo (response)
-
StellarRpcRequest<
RESULT, RESPONSE> - v2 base for generated Stellar-RPC (ex-Soroban) JSON-RPC requests.
- StellarRpcRequestGetEvents
- POST /getEvents
- StellarRpcRequestGetFeeStats
- POST /getFeeStats
- StellarRpcRequestGetHealth
- POST /getHealth
- StellarRpcRequestGetLatestLedger
- POST /getLatestLedger
- StellarRpcRequestGetLedgerEntries
- POST /getLedgerEntries
- StellarRpcRequestGetLedgers
- POST /getLedgers
- StellarRpcRequestGetNetwork
- POST /getNetwork
- StellarRpcRequestGetTransaction
- POST /getTransaction
- StellarRpcRequestGetTransactions
- POST /getTransactions
- StellarRpcRequestGetVersionInfo
- POST /getVersionInfo
- StellarRpcRequestSendTransaction
- POST /sendTransaction
- StellarRpcRequestSimulateTransaction
- POST /simulateTransaction
- StellarRpcSendTransactionParams
- Submit a real transaction to the Stellar network. This is the only way to make changes on-chain.
- StellarRpcSendTransactionResult
- POST /sendTransaction (response)
- StellarRpcSimulateTransactionParams
- Submit a trial contract invocation to simulate how it would be executed by the network. This endpoint calculates the effective transaction data, required authorizations, and minimal resource fee. It provides a way to test and analyze the potential outcomes of a transaction without actually submitting it to the network.
- StellarRpcSimulateTransactionParamsResourceConfig
- Configuration for how resources will be calculated.
- StellarRpcSimulateTransactionResult
- POST /simulateTransaction (response)
- StellarRpcSimulateTransactionResultRestorePreamble
-
(optional) - It can only be present on successful simulation (i.e. no error) of
InvokeHostFunctionoperations. If present, it indicates that the simulation detected archived ledger entries which need to be restored before the submission of theInvokeHostFunctionoperation. TheminResourceFeeandtransactionDatafields should be used to submit a transaction containing aRestoreFootprintoperation. - StellarRpcSimulateTransactionResultResultsItem
- StellarRpcSimulateTransactionResultStateChangesItem
- StellarScVal
-
Ergonomic builders for common
ScValcontract arguments. - StellarSubmitResult
-
Result of StellarQuickClientApi.submitTransaction (wallet
(hash, ok)record parity). - StellarTransaction
- StellarTransactionV0
- StellarTransactionV1
- StellarValue
-
XDR
StellarValue: the value SCP agrees on per ledger. Decoders built against older XDR fail on Protocol 30 ledgers because every ledger after the upgrade uses thesignedMs/emptyTxSetMsarms (CAP-88). - StellarValueEmptyTxSetBody
-
XDR
StellarValueempty-tx-set body (shared by theemptyTxSetandemptyTxSetMsarms; the latter additionally carriescloseTimeMs). - StellarValueEmptyTxSetMs
-
XDR
proposedMsValue(CAP-88). - StellarValueExt
-
XDR
StellarValue.extunion. Kept as a separate type so the arm index follows the XDR discriminant while StellarValue carries the shared body. - StellarValueSignedMs
-
XDR
signedMsValue(CAP-88):closeTimeMsis the full close time in milliseconds;closeTimeequalscloseTimeMs ~/ 1000. - StellarValueType
-
XDR
StellarValueType(stellar-xdr v30.0). ThesignedMs/emptyTxSetMsarms (CAP-88) carry millisecond close times; every ledger produced after the Protocol 30 upgrade uses one of them. - TimeBounds
- TransactionResult
- TransactionResultCode
- TransactionResultTxFailed
- TransactionResultTxSuccess
- TransactionResultType
- TransactionResultVoid
- TransactionSignaturePayload
- TransactionV0Envelope
- TransactionV1Envelope
- TrustAuthFlag
- TrustLineEntry
- TrustLineEntryExt
- TrustLineEntryExtensionV2
- TrustLineEntryV1
- TrustLineEntryV2Ext
- TrustLineFlag
- TTLEntry
- UInt128Parts
- UInt256Parts
- XDRSerialization
- Base for a type that can be encoded to / decoded from Stellar XDR.
- XDRVariantDecodeResult
- A decoded XDR union: the selected variant's name and its payload.
- XDRVariantSerialization
- Base for an XDR union (discriminated variant) type.
Enums
- BuBuildFeature
- Single Cargo feature compiled into the backend artifact.
- DefaultErrorType
- Core/shared errors. Chain-specific errors live in their own packages. No duplicate names: anything reusable stays here.
- HorizonAssetBalanceChangeAssetCode
- HorizonAssetBalanceChangeType
- HorizonAsyncTransactionSubmissionResponseTxStatus
- Status of the transaction submission.
- HorizonBalanceLineAssetAssetType
- HorizonBalanceLineLiquidityPoolAssetType
- HorizonBalanceLineNativeAssetType
- HorizonEffectEmbeddedRecordsItemType
- HorizonIncludeFailed
- HorizonJoin
- HorizonOrder
- HorizonSignersType
- HorizonTradeType
- StellarAPIType
- Which Stellar API a request targets (Horizon or Stellar RPC).
- StellarErrorType
- Stellar-specific error types. Phase 2: taxonomy only, no serialization.
- StellarRpcGetEventsParamsFiltersItemType
- Filter events by type. If omitted, all event types are included.
- StellarRpcGetEventsResultEventsItemType
- The type of event emission.
- StellarRpcGetTransactionResultStatus
- The current status of the transaction by hash
- StellarRpcSendTransactionResultStatus
- The current status of the transaction by hash.
- StellarRpcSimulateTransactionParamsAuthMode
- Specifies the authorization mode to use when simulating the transaction. 'enforce' (default) enforces authorization checks, 'record' records authorization without enforcing, and 'record_allow_nonroot' records authorization while allowing non-root invocations.
- StellarRpcSimulateTransactionResultStateChangesItemType
- Indicates if the entry was created, updated, or deleted
- StellarSerializationIdentifiers
- CBOR tag identifiers for this package's serializable exceptions.
- StellarTxStatus
-
Unified transaction status across the Horizon API (wallet
WalletTransactionStatusparity for the block/failed cases).
Mixins
- StellarQuickClientApi
- Quick client API: one method per top request, each mapped to the correct backend and returning a single unified result type.
- StellarServiceProvider
- A mixin defining the service provider contract for interacting with the Stellar network.
Typedefs
- ChangeTrustAsset = StellarAsset
- with pool asset
-
HorizonSignatures
= List<
String> - StellarServiceResponse = BaseServiceResponse
- TrustLineAsset = StellarAsset
- accept poolId
Exceptions / Errors
- BuError
- Sole exception type for the blockchain_utils connector.