Web3S_Demo > Web 3S Hd Wallet Key Function Library > Derive HD Wallet Private Key

Derive HD Wallet Private Key

Derives a new child private key. Only allowed for private parent keys.

Inputs

In
Exec

Key
Web 3S Hd Wallet Key Structure (by ref)

The key to derive from, needs to be private.

Child Type
EWeb3S_HdWalletChildType Enum

Type of the child.

Child Index
Integer

The child index. Only non-negative values allowed.

Outputs

Out
Exec

Error Message
String

Empty if successful, error message otherwise.

Derived Key
Web 3S Hd Wallet Key Structure

The derived private key.

Success
Boolean

True if successful, false otherwise.