DotNetLightning


Amount Module

Functions and values

Function or value Description

Amount.decode input

Full Usage: Amount.decode input

Parameters:
    input : string

Returns: Result<LNMoney, string>
input : string
Returns: Result<LNMoney, string>

Amount.encode amount

Full Usage: Amount.encode amount

Parameters:
Returns: string
amount : LNMoney option
Returns: string

Amount.unit amount

Full Usage: Amount.unit amount

Parameters:
Returns: char
amount : LNMoney
Returns: char