View Source Stellar.TxBuild.Validations (Elixir Stellar SDK v0.22.0)
Ensures that child components/structures used by operations are properly initialized otherwise, returns a formatted error.
Summary
Types
@type account_id() :: String.t()
@type args() :: [Stellar.TxBuild.SCVal.t()]
@type asset() :: {asset_code(), account_id()} | Keyword.t() | atom()
@type asset_code() :: String.t()
@type value() :: account_id() | asset() | number() | args()
Functions
@spec validate_account(component :: component()) :: validation()
@spec validate_account_id(component :: component()) :: validation()
@spec validate_address(address :: Stellar.TxBuild.SCAddress.t()) :: validation()
@spec validate_amount(component :: component()) :: validation()
@spec validate_asset(component :: component()) :: validation()
@spec validate_claimable_balance_id(component :: component()) :: validation()
@spec validate_contract_id(component :: component()) :: validation()
@spec validate_optional_account(component :: component()) :: validation()
@spec validate_optional_account_id(component :: component()) :: validation()
@spec validate_optional_amount(component :: component()) :: validation()
@spec validate_optional_assets_path(component :: component()) :: validation()
@spec validate_optional_flags(component :: component()) :: validation()
@spec validate_optional_signer(component :: component()) :: validation()
@spec validate_optional_string32(component :: component()) :: validation()
@spec validate_optional_weight(component :: component()) :: validation()
@spec validate_pool_id(component :: component()) :: validation()
@spec validate_pos_integer(component :: component()) :: validation()
@spec validate_price(component :: component()) :: validation()
@spec validate_sc_vals(component :: component()) :: validation()
@spec validate_sequence_number(tuple()) :: validation()
@spec validate_string(tuple()) :: validation()
@spec validate_vec(args :: Stellar.TxBuild.SCVec.t()) :: validation()