Class: Chain::MockHSM::Key

Inherits:
ResponseObject show all
Defined in:
lib/chain/mock_hsm.rb

Defined Under Namespace

Classes: ClientModule, Query

Instance Attribute Summary collapse

Method Summary

Methods inherited from ResponseObject

#[], #[]=, #initialize, #to_h, #to_json

Constructor Details

This class inherits a constructor from Chain::ResponseObject

Instance Attribute Details

#aliasString (readonly)

User specified, unique identifier of the key.

Returns:

  • (String)


31
# File 'lib/chain/mock_hsm.rb', line 31

attrib :alias

#xpubString (readonly)

Hex-encoded string representation of the key.

Returns:

  • (String)


36
# File 'lib/chain/mock_hsm.rb', line 36

attrib :xpub