View Source Stellar.TxBuild.InvokeHostFunction (Elixir Stellar SDK v0.22.0)
Performs the following operations:
- Invokes contract host_functions.
- Upload WASM of the new contracts.
- Deploys new contracts using the uploaded WASM or built-in implementations.
Summary
Types
@type auths() :: [Stellar.TxBuild.SorobanAuthorizationEntry.t()] | [String.t()]
@type error() :: {:error, atom()}
@type host_function() :: Stellar.TxBuild.HostFunction.t()
@type soroban_auth_xdr() :: StellarBase.XDR.SorobanAuthorizationEntry.t()
@type t() :: %Stellar.TxBuild.InvokeHostFunction{ auths: auths(), host_function: host_function(), source_account: Stellar.TxBuild.OptionalAccount.t() }