Package-level declarations

Types

Link copied to clipboard
@Serializable
@SerialName(value = "account_created")
data class AccountCreatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val startingBalance: String) : EffectResponse

Represents account_created effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "account_credited")
data class AccountCreditedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val amount: String, val assetType: String, val assetCode: String? = null, val assetIssuer: String? = null) : EffectResponse

Represents account_credited effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "account_debited")
data class AccountDebitedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val amount: String, val assetType: String, val assetCode: String? = null, val assetIssuer: String? = null) : EffectResponse

Represents account_debited effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "account_flags_updated")
data class AccountFlagsUpdatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val authRequiredFlag: Boolean? = null, val authRevokableFlag: Boolean? = null) : EffectResponse

Represents account_flags_updated effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "account_home_domain_updated")
data class AccountHomeDomainUpdatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val homeDomain: String) : EffectResponse

Represents account_home_domain_updated effect response.

@Serializable
@SerialName(value = "account_inflation_destination_updated")
data class AccountInflationDestinationUpdatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks) : EffectResponse

Represents account_inflation_destination_updated effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "account_removed")
data class AccountRemovedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks) : EffectResponse

Represents account_removed effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "account_sponsorship_created")
data class AccountSponsorshipCreatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val sponsor: String) : EffectResponse

Represents account_sponsorship_created effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "account_sponsorship_removed")
data class AccountSponsorshipRemovedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val formerSponsor: String) : EffectResponse

Represents account_sponsorship_removed effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "account_sponsorship_updated")
data class AccountSponsorshipUpdatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val formerSponsor: String, val newSponsor: String) : EffectResponse

Represents account_sponsorship_updated effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "account_thresholds_updated")
data class AccountThresholdsUpdatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val lowThreshold: Int, val medThreshold: Int, val highThreshold: Int) : EffectResponse

Represents account_thresholds_updated effect response.

@Serializable
@SerialName(value = "claimable_balance_claimant_created")
data class ClaimableBalanceClaimantCreatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val asset: String, val amount: String, val balanceId: String, val predicate: String? = null) : EffectResponse

Represents claimable_balance_claimant_created effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "claimable_balance_claimed")
data class ClaimableBalanceClaimedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val asset: String, val amount: String, val balanceId: String) : EffectResponse

Represents claimable_balance_claimed effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "claimable_balance_clawed_back")
data class ClaimableBalanceClawedBackEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val balanceId: String) : EffectResponse

Represents claimable_balance_clawed_back effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "claimable_balance_created")
data class ClaimableBalanceCreatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val asset: String, val amount: String, val balanceId: String) : EffectResponse

Represents claimable_balance_created effect response.

@Serializable
@SerialName(value = "claimable_balance_sponsorship_created")
data class ClaimableBalanceSponsorshipCreatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val sponsor: String, val balanceId: String) : EffectResponse

Represents claimable_balance_sponsorship_created effect response.

@Serializable
@SerialName(value = "claimable_balance_sponsorship_removed")
data class ClaimableBalanceSponsorshipRemovedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val formerSponsor: String, val balanceId: String) : EffectResponse

Represents claimable_balance_sponsorship_removed effect response.

@Serializable
@SerialName(value = "claimable_balance_sponsorship_updated")
data class ClaimableBalanceSponsorshipUpdatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val formerSponsor: String, val newSponsor: String, val balanceId: String) : EffectResponse

Represents claimable_balance_sponsorship_updated effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "contract_credited")
data class ContractCreditedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val assetType: String, val assetCode: String? = null, val assetIssuer: String? = null, val contract: String, val amount: String) : EffectResponse

Represents contract_credited effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "contract_debited")
data class ContractDebitedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val assetType: String, val assetCode: String? = null, val assetIssuer: String? = null, val contract: String, val amount: String) : EffectResponse

Represents contract_debited effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "data_created")
data class DataCreatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val name: String, val value: String) : EffectResponse

Represents data_created effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "data_removed")
data class DataRemovedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val name: String) : EffectResponse

Represents data_removed effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "data_sponsorship_created")
data class DataSponsorshipCreatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val sponsor: String, val dataName: String) : EffectResponse

Represents data_sponsorship_created effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "data_sponsorship_removed")
data class DataSponsorshipRemovedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val formerSponsor: String, val dataName: String) : EffectResponse

Represents data_sponsorship_removed effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "data_sponsorship_updated")
data class DataSponsorshipUpdatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val formerSponsor: String, val newSponsor: String, val dataName: String) : EffectResponse

Represents data_sponsorship_updated effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "data_updated")
data class DataUpdatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val name: String, val value: String) : EffectResponse

Represents data_updated effect response.

Link copied to clipboard

Sealed class for effect responses.

Link copied to clipboard
object EffectResponseSerializer : JsonContentPolymorphicSerializer<EffectResponse>

Custom polymorphic serializer for EffectResponse that preserves the "type" field as a property.

Link copied to clipboard
@Serializable
data class LiquidityPool(val id: String, val feeBP: Int, val type: String, val totalTrustlines: Long, val totalShares: String, val reserves: List<AssetAmount>)

Represents liquidity pool information used in effect responses.

Link copied to clipboard
@Serializable
data class LiquidityPoolClaimableAssetAmount(val asset: String, val amount: String, val claimableBalanceId: String)

Represents liquidity pool claimable asset amount used in effect responses.

Link copied to clipboard
@Serializable
@SerialName(value = "liquidity_pool_created")
data class LiquidityPoolCreatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val liquidityPool: LiquidityPool) : EffectResponse

Represents liquidity_pool_created effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "liquidity_pool_deposited")
data class LiquidityPoolDepositedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val liquidityPool: LiquidityPool, val reservesDeposited: List<AssetAmount>, val sharesReceived: String) : EffectResponse

Represents liquidity_pool_deposited effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "liquidity_pool_removed")
data class LiquidityPoolRemovedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val liquidityPoolId: String) : EffectResponse

Represents liquidity_pool_removed effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "liquidity_pool_revoked")
data class LiquidityPoolRevokedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val liquidityPool: LiquidityPool, val reservesRevoked: List<LiquidityPoolClaimableAssetAmount>, val sharesRevoked: String) : EffectResponse

Represents liquidity_pool_revoked effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "liquidity_pool_trade")
data class LiquidityPoolTradeEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val liquidityPool: LiquidityPool, val sold: AssetAmount, val bought: AssetAmount) : EffectResponse

Represents liquidity_pool_trade effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "liquidity_pool_withdrew")
data class LiquidityPoolWithdrewEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val liquidityPool: LiquidityPool, val reservesReceived: List<AssetAmount>, val sharesRedeemed: String) : EffectResponse

Represents liquidity_pool_withdrew effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "offer_created")
data class OfferCreatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks) : EffectResponse

Represents offer_created effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "offer_removed")
data class OfferRemovedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks) : EffectResponse

Represents offer_removed effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "offer_updated")
data class OfferUpdatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks) : EffectResponse

Represents offer_updated effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "sequence_bumped")
data class SequenceBumpedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val newSequence: Long) : EffectResponse

Represents sequence_bumped effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "signer_created")
data class SignerCreatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val weight: Int, val publicKey: String) : SignerEffectResponse

Represents signer_created effect response.

Link copied to clipboard
@Serializable
abstract class SignerEffectResponse : EffectResponse

Abstract base class for signer effect responses.

Link copied to clipboard
@Serializable
@SerialName(value = "signer_removed")
data class SignerRemovedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val weight: Int, val publicKey: String) : SignerEffectResponse

Represents signer_removed effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "signer_sponsorship_created")
data class SignerSponsorshipCreatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val sponsor: String, val signer: String) : EffectResponse

Represents signer_sponsorship_created effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "signer_sponsorship_removed")
data class SignerSponsorshipRemovedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val formerSponsor: String, val signer: String) : EffectResponse

Represents signer_sponsorship_removed effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "signer_sponsorship_updated")
data class SignerSponsorshipUpdatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val formerSponsor: String, val newSponsor: String, val signer: String) : EffectResponse

Represents signer_sponsorship_updated effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "signer_updated")
data class SignerUpdatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val weight: Int, val publicKey: String) : SignerEffectResponse

Represents signer_updated effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "trade")
data class TradeEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val seller: String, val sellerMuxed: String? = null, val sellerMuxedId: String? = null, val offerId: Long, val soldAmount: String, val soldAssetType: String, val soldAssetCode: String? = null, val soldAssetIssuer: String? = null, val boughtAmount: String, val boughtAssetType: String, val boughtAssetCode: String? = null, val boughtAssetIssuer: String? = null) : EffectResponse

Represents trade effect response.

Link copied to clipboard
@Serializable
abstract class TrustlineAuthorizationResponse : EffectResponse

Abstract base class for trustline authorization effect responses.

Link copied to clipboard
@Serializable
@SerialName(value = "trustline_authorized")
data class TrustlineAuthorizedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val trustor: String, val assetType: String, val assetCode: String? = null) : TrustlineAuthorizationResponse

Represents trustline_authorized effect response.

@Serializable
@SerialName(value = "trustline_authorized_to_maintain_liabilities")
data class TrustlineAuthorizedToMaintainLiabilitiesEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val trustor: String, val assetType: String, val assetCode: String? = null) : TrustlineAuthorizationResponse

Represents trustline_authorized_to_maintain_liabilities effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "trustline_created")
data class TrustlineCreatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val limit: String, val assetType: String, val assetCode: String? = null, val assetIssuer: String? = null, val liquidityPoolId: String? = null) : TrustlineCUDResponse

Represents trustline_created effect response.

Link copied to clipboard
@Serializable
abstract class TrustlineCUDResponse : EffectResponse

Abstract base class for trustline Create/Update/Delete effect responses.

Link copied to clipboard
@Serializable
@SerialName(value = "trustline_deauthorized")
data class TrustlineDeauthorizedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val trustor: String, val assetType: String, val assetCode: String? = null) : TrustlineAuthorizationResponse

Represents trustline_deauthorized effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "trustline_flags_updated")
data class TrustlineFlagsUpdatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val trustor: String, val assetType: String, val assetCode: String? = null, val assetIssuer: String? = null, val authorizedFlag: Boolean? = null, val authorizedToMaintainLiabilitiesFlag: Boolean? = null, val clawbackEnabledFlag: Boolean? = null) : EffectResponse

Represents trustline_flags_updated effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "trustline_removed")
data class TrustlineRemovedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val limit: String, val assetType: String, val assetCode: String? = null, val assetIssuer: String? = null, val liquidityPoolId: String? = null) : TrustlineCUDResponse

Represents trustline_removed effect response.

@Serializable
@SerialName(value = "trustline_sponsorship_created")
data class TrustlineSponsorshipCreatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val assetType: String, val asset: String? = null, val liquidityPoolId: String? = null, val sponsor: String) : EffectResponse

Represents trustline_sponsorship_created effect response.

@Serializable
@SerialName(value = "trustline_sponsorship_removed")
data class TrustlineSponsorshipRemovedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val assetType: String, val asset: String? = null, val liquidityPoolId: String? = null, val formerSponsor: String) : EffectResponse

Represents trustline_sponsorship_removed effect response.

@Serializable
@SerialName(value = "trustline_sponsorship_updated")
data class TrustlineSponsorshipUpdatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val assetType: String, val asset: String? = null, val liquidityPoolId: String? = null, val formerSponsor: String, val newSponsor: String) : EffectResponse

Represents trustline_sponsorship_updated effect response.

Link copied to clipboard
@Serializable
@SerialName(value = "trustline_updated")
data class TrustlineUpdatedEffectResponse(val id: String, val account: String?, val accountMuxed: String? = null, val accountMuxedId: String? = null, val type: String, val createdAt: String, val pagingToken: String, val links: EffectResponse.EffectLinks, val limit: String, val assetType: String, val assetCode: String? = null, val assetIssuer: String? = null, val liquidityPoolId: String? = null) : TrustlineCUDResponse

Represents trustline_updated effect response.