class TonSdk::Crypto::ParamsOfHDKeyXPrvFromMnemonic

Attributes

dictionary[R]
phrase[R]
word_count[R]

Public Class Methods

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

Public Instance Methods

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