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

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 network_passphrase() :: String.t()
@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, network_passphrase)

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

sign_xdr(base_64, secret_key, latest_ledger, network_passphrase)

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