[#WriteHDKeypath]
= WriteHDKeypath
:mrdocs:

Write HD keypaths as strings&period;

== Synopsis

Declared in `&lt;util&sol;bip32&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string
WriteHDKeypath(
    std::vector&lt;uint32&lowbar;t&gt; const& keypath,
    bool apostrophe = false);
----

== Return Value

The key path formatted as a string&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *keypath*
| The derivation indices to format&period;
| *apostrophe*
| Use an apostrophe rather than &apos;h&apos; to mark hardened steps&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
