InvokeHostFunctionOperationResponse

@Serializable
@SerialName(value = "invoke_host_function")
data class InvokeHostFunctionOperationResponse(val id: String, val sourceAccount: String, val sourceAccountMuxed: String? = null, val sourceAccountMuxedId: String? = null, val pagingToken: String, val createdAt: String, val transactionHash: String, val transactionSuccessful: Boolean, val type: String, val links: OperationResponse.Links, val transaction: TransactionResponse? = null, val function: String, val parameters: List<InvokeHostFunctionOperationResponse.HostFunctionParameter>? = null, val address: String? = null, val salt: String? = null, val assetBalanceChanges: List<InvokeHostFunctionOperationResponse.AssetContractBalanceChange>? = null) : OperationResponse

Represents InvokeHostFunction operation response.

See also

Constructors

Link copied to clipboard
constructor(id: String, sourceAccount: String, sourceAccountMuxed: String? = null, sourceAccountMuxedId: String? = null, pagingToken: String, createdAt: String, transactionHash: String, transactionSuccessful: Boolean, type: String, links: OperationResponse.Links, transaction: TransactionResponse? = null, function: String, parameters: List<InvokeHostFunctionOperationResponse.HostFunctionParameter>? = null, address: String? = null, salt: String? = null, assetBalanceChanges: List<InvokeHostFunctionOperationResponse.AssetContractBalanceChange>? = null)

Types

Link copied to clipboard
@Serializable
data class AssetContractBalanceChange(val assetType: String, val assetCode: String? = null, val assetIssuer: String? = null, val type: String, val from: String, val to: String, val amount: String, val destinationMuxedId: String? = null)
Link copied to clipboard
@Serializable
data class HostFunctionParameter(val type: String, val value: String)

Properties

Link copied to clipboard
@SerialName(value = "address")
val address: String?
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "created_at")
open override val createdAt: String
Link copied to clipboard
@SerialName(value = "function")
val function: String
Link copied to clipboard
@SerialName(value = "id")
open override val id: String
Link copied to clipboard
@SerialName(value = "_links")
open override val links: OperationResponse.Links
Link copied to clipboard
@SerialName(value = "paging_token")
open override val pagingToken: String

Returns the paging token (cursor) for this response. This token can be used to fetch the next page of results or resume streaming.

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "salt")
val salt: String?
Link copied to clipboard
@SerialName(value = "source_account")
open override val sourceAccount: String
Link copied to clipboard
@SerialName(value = "source_account_muxed")
open override val sourceAccountMuxed: String?
Link copied to clipboard
@SerialName(value = "source_account_muxed_id")
open override val sourceAccountMuxedId: String?
Link copied to clipboard
@SerialName(value = "transaction")
open override val transaction: TransactionResponse?
Link copied to clipboard
@SerialName(value = "transaction_hash")
open override val transactionHash: String
Link copied to clipboard
@SerialName(value = "transaction_successful")
open override val transactionSuccessful: Boolean
Link copied to clipboard
@SerialName(value = "type")
open override val type: String