class TonSdk::Crypto::ParamsOfHDKeyDeriveFromXPrv

Attributes

child_index[R]
hardened[R]
xprv[R]

Public Class Methods

new(xprv:, child_index:, hardened:) click to toggle source
# File lib/ton_sdk_client/crypto.rb, line 186
def initialize(xprv:, child_index:, hardened:)
  @xprv = xprv
  @child_index = child_index
  @hardened = hardened
end

Public Instance Methods

to_h() click to toggle source
# File lib/ton_sdk_client/crypto.rb, line 192
def to_h
  {
    xprv: @xprv,
    child_index: @child_index,
    hardened: @hardened
  }
end