InvokeHostFunctionOperationResponse
public class InvokeHostFunctionOperationResponse : OperationResponse, @unchecked Sendable
Represents an invoke host function operation response. This Soroban operation invokes a smart contract function on the Stellar network. See Stellar developer docs
-
Type of host function being invoked (e.g., InvokeContract, CreateContract).
Declaration
Swift
public let function: String -
Contract address or deployment address.
Declaration
Swift
public let address: String -
Salt used for contract deployment.
Declaration
Swift
public let salt: String -
Parameters passed to the function.
Declaration
Swift
public let parameters: [ParameterResponse]? -
Asset balance changes resulting from the invocation.
Declaration
Swift
public let assetBalanceChanges: [AssetBalanceChange]? -
Initializer - creates a new instance by decoding from the given decoder.
Declaration
Swift
public required init(from decoder: Decoder) throwsParameters
decoderThe decoder containing the data
View on GitHub
Install in Dash