InvokeHostFunctionOperation

data class InvokeHostFunctionOperation(val hostFunction: HostFunctionXdr, val auth: List<SorobanAuthorizationEntryXdr> = emptyList()) : Operation

Represents an InvokeHostFunction operation.

This operation is used for Soroban smart contract invocations.

Constructors

Link copied to clipboard
constructor(hostFunction: HostFunctionXdr, auth: List<SorobanAuthorizationEntryXdr> = emptyList())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The authorization entries required to execute the function

Link copied to clipboard

The host function to invoke

Link copied to clipboard

Optional source account for this operation.

Functions

Link copied to clipboard
open override fun toOperationBody(): OperationBodyXdr

Converts this operation to its XDR operation body representation.

Link copied to clipboard

Converts this operation to its full XDR representation, including the source account.