WriteHDKeypath

Write HD keypaths as strings.

Synopsis

Declared in <util/bip32.h>

std::string
WriteHDKeypath(
    std::vector<uint32_t> const& keypath,
    bool apostrophe = false);

Return Value

The key path formatted as a string.

Parameters

NameDescription
keypathThe derivation indices to format.
apostropheUse an apostrophe rather than 'h' to mark hardened steps.