Class: Privy::Models::SparkTransferLeaf

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/privy/models/spark_transfer_leaf.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(intermediate_refund_tx:, secret_cipher:, signature:, leaf: nil) ⇒ Object

A Spark transfer leaf.

Parameters:

  • intermediate_refund_tx (String)
  • secret_cipher (String)
  • signature (String)
  • leaf (Privy::Models::SparkWalletLeaf) (defaults to: nil)

    A Spark wallet leaf node.



# File 'lib/privy/models/spark_transfer_leaf.rb', line 27

Instance Attribute Details

#intermediate_refund_txString

Returns:

  • (String)


9
# File 'lib/privy/models/spark_transfer_leaf.rb', line 9

required :intermediate_refund_tx, String

#leafPrivy::Models::SparkWalletLeaf?

A Spark wallet leaf node.



25
# File 'lib/privy/models/spark_transfer_leaf.rb', line 25

optional :leaf, -> { Privy::SparkWalletLeaf }

#secret_cipherString

Returns:

  • (String)


14
# File 'lib/privy/models/spark_transfer_leaf.rb', line 14

required :secret_cipher, String

#signatureString

Returns:

  • (String)


19
# File 'lib/privy/models/spark_transfer_leaf.rb', line 19

required :signature, String