class TonSdk::Crypto::ParamsOfMnemonicFromEntropy

Attributes

dictionary[R]
entropy[R]
word_count[R]

Public Class Methods

new(entropy:, dictionary: nil, word_count: nil) click to toggle source
# File lib/ton_sdk_client/crypto.rb, line 106
def initialize(entropy:, dictionary: nil, word_count: nil)
  @entropy = entropy
  @dictionary = dictionary
  @word_count = word_count
end

Public Instance Methods

to_h() click to toggle source
# File lib/ton_sdk_client/crypto.rb, line 112
def to_h
  {
    entropy: @entropy,
    dictionary: @dictionary,
    word_count: @word_count
  }
end