View Source Stellar.TxBuild.HostFunction (Elixir Stellar SDK v0.22.0)

HostFunction struct definition.

Summary

Types

@type error() :: {:error, atom()}
@type t() :: %Stellar.TxBuild.HostFunction{type: type(), value: value()}
@type type() :: :invoke_contract | :create_contract | :upload_contract_wasm
@type validation() :: {:ok, any()} | error()