Web3S_Demo > Web 3S Hd Wallet Key Function Library > Make HD Wallet Key

Make HD Wallet Key

Makes a new HD Wallet Key instance.

Inputs

Key Type
EWeb3S_HdWalletKeyType Enum

Input Key Type.

Version
EWeb3S_HdWalletVersion Enum

Input Version.

Depth
Byte

Input Depth, only values between 0 and 255 (inclusive) are allowed.

Parent Fingerprint
Array of Bytes

Input Parent Fingerprint Bytes, needs to be 4 bytes long.

Child Type
EWeb3S_HdWalletChildType Enum

Type of the child.

Child Number
Integer

Input Child Number, between 0 and 2^31 - 1 (inclusive).

Chain Code
Array of Bytes

Input Chain Code, 32 bytes long.

Key Data
Array of Bytes

Input Key Data, 32 bytes long for private keys and 64 bytes long for public keys.

Outputs

Key
Web 3S Hd Wallet Key Structure