class TonSdk::Crypto::ParamsOfMnemonicDeriveSignKeys

Attributes

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

Public Class Methods

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

Public Instance Methods

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