View Source Stellar.TxBuild.ContractAuth (Elixir Stellar SDK v0.15.0)

ContractAuth struct definition.

Link to this section Summary

Link to this section Types

@type error() :: Keyword.t() | atom()
@type t() :: %Stellar.TxBuild.ContractAuth{
  address_with_nonce: Stellar.TxBuild.OptionalAddressWithNonce.t(),
  authorized_invocation: Stellar.TxBuild.AuthorizedInvocation.t(),
  signature_args: [Stellar.TxBuild.SCVal.t()]
}
@type validation() :: {:ok, any()} | {:error, error()}

Link to this section Functions

Link to this function

sign(contract_auth, secret_key)

View Source
@spec sign(contract_auth :: t(), secret_key :: binary()) :: t()
Link to this function

sign_xdr(base_64, secret_key)

View Source
@spec sign_xdr(base_64 :: binary(), secret_key :: binary()) :: binary()