Skip to main content
Invokes a Soroban smart contract function.
string
The type of InvokeHostFunctionOp which can be one of HostFunctionTypeHostFunctionTypeInvokeContract, HostFunctionTypeHostFunctionTypeCreateContract, or HostFunctionTypeHostFunctionTypeUploadContractWasm.
array
An array of parameters passed into the Soroban smart contract function (only present when the type of InvokeHostFunctionOp is HostFunctionTypeHostFunctionTypeInvokeContract).
string
The address of the newly created contract (only present when the type of InvokeHostFunctionOp is HostFunctionTypeHostFunctionTypeCreateContract).
string
The salt used to create the contract (only present when the type of InvokeHostFunctionOp is HostFunctionTypeHostFunctionTypeCreateContract).
array
An array of Stellar Asset Contract balance update events that occurred as a side effect of the InvokeHostFunctionOp (only present when the type of InvokeHostFunctionOp is HostFunctionTypeHostFunctionTypeInvokeContract and the invocation is on a Stellar Asset Contract).
Example