ContractCreditedEffectResponse

@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, val contractMuxed: String? = null, val contractMuxedId: String? = null) : EffectResponse

Represents contract_credited effect response.

This effect occurs when a contract is credited with an asset.

See also

Constructors

Link copied to clipboard
constructor(id: String, account: String?, accountMuxed: String? = null, accountMuxedId: String? = null, type: String, createdAt: String, pagingToken: String, links: EffectResponse.EffectLinks, assetType: String, assetCode: String? = null, assetIssuer: String? = null, contract: String, amount: String, contractMuxed: String? = null, contractMuxedId: String? = null)

Properties

Link copied to clipboard
open override val account: String?

The account address that is associated with this effect

Link copied to clipboard
@SerialName(value = "account_muxed")
open override val accountMuxed: String?

The muxed account address that is associated with this effect

Link copied to clipboard
@SerialName(value = "account_muxed_id")
open override val accountMuxedId: String?

The muxed account ID that is associated with this effect

Link copied to clipboard

The amount credited

Link copied to clipboard
@SerialName(value = "asset_code")
val assetCode: String?

The asset code

Link copied to clipboard
@SerialName(value = "asset_issuer")
val assetIssuer: String?

The asset issuer

Link copied to clipboard
@SerialName(value = "asset_type")
val assetType: String

The asset type

Link copied to clipboard

The contract ID

Link copied to clipboard
@SerialName(value = "contract_muxed")
val contractMuxed: String?

The muxed address of contract as a W... strkey, set by Horizon for a transfer or mint to a muxed contract address. Null when no muxed destination is reported.

Link copied to clipboard
@SerialName(value = "contract_muxed_id")
val contractMuxedId: String?

The muxed id as the decimal string Horizon sends for a transfer or mint to a muxed contract address. Null when no muxed destination is reported.

Link copied to clipboard
@SerialName(value = "created_at")
open override val createdAt: String

ISO 8601 timestamp of when this effect occurred

Link copied to clipboard
open override val id: String

A unique identifier for this effect

Link copied to clipboard
@SerialName(value = "_links")
open override val links: EffectResponse.EffectLinks

Links related to this effect

Link copied to clipboard
@SerialName(value = "paging_token")
open override val pagingToken: String

A cursor value for use in pagination

Link copied to clipboard
open override val type: String

Type of effect