View Source BitcoinLib.Key.HD.DerivationPath.Parser.Change (BitcoinLib v0.4.7)
Determines which change chain is being used, either receiving or change.
This is a hardened value.
See: https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#change
Link to this section Summary
Functions
Converts a list of path levels managed up until the change chain, extracts the change chain and returns the remaining levels
Link to this section Functions
Converts a list of path levels managed up until the change chain, extracts the change chain and returns the remaining levels
examples
Examples
iex> ["1", "2", "3"]
...> |> BitcoinLib.Key.HD.DerivationPath.Parser.Change.extract()
{:ok, :change_chain, ["2", "3"]}