View Source Kadena.Types.SignatureWithHash (Kadena v0.19.1)

SignatureWithHash struct definition.

Link to this section Summary

Link to this section Types

@type hash() :: String.t()
@type pub_key() :: String.t() | nil
@type sig() :: String.t()
@type sig_type() :: :unsigned_signature | :signed_signature
@type t() :: %Kadena.Types.SignatureWithHash{
  hash: hash(),
  pub_key: pub_key(),
  sig: sig(),
  type: sig_type()
}
@type validation() :: {:ok, String.t()} | {:error, Keyword.t()}