View Source BitcoinLib.Key.HD.DerivationPath.Parser.Change (BitcoinLib v0.3.0)

Link to this section Summary

Functions

Converts an integer into an atom representing the receiving or change chain

Link to this section Functions

@spec parse(integer()) :: :receiving_chain | :change_chain | :invalid

Converts an integer into an atom representing the receiving or change chain

examples

Examples

iex> BitcoinLib.Key.HD.DerivationPath.Parser.Change.parse(0)
:receiving_chain