View Source Stellar.TxBuild.SorobanAuthorizationEntry (Elixir Stellar SDK v0.17.1)

SorobanAuthorizationEntry struct definition.

Summary

Types

@type base_64() :: String.t()
@type credentials() :: Stellar.TxBuild.SorobanCredentials.t()
@type error() :: {:error, atom()}
@type latest_ledger() :: non_neg_integer()
@type root_invocation() :: Stellar.TxBuild.SorobanAuthorizedInvocation.t()
@type secret_key() :: String.t()
@type sign_authorization() :: String.t()
@type t() :: %Stellar.TxBuild.SorobanAuthorizationEntry{
  credentials: credentials(),
  root_invocation: root_invocation()
}
@type validation() :: {:ok, any()} | error()

Functions

Link to this function

sign(credentials, secret_key)

View Source
@spec sign(credentials :: t(), secret_key :: secret_key()) :: t() | error()
Link to this function

sign_xdr(base_64, secret_key, latest_ledger)

View Source
@spec sign_xdr(
  base_64 :: base_64(),
  secret_key :: secret_key(),
  latest_ledger :: latest_ledger()
) :: sign_authorization() | error()