Expand description
CDK Amount
Is any unit and will be treated as the unit of the wallet
Structs§
- Amount
- Amount can be any unit
- FeeAnd
Amounts - Fees and and amount type, it can be casted just as a reference to the inner amounts, or a single u64 which is the fee
Enums§
- Error
- Amount Error
- Split
Target - Kinds of targeting that are supported
Constants§
- MSAT_
IN_ SAT - Msats in sat
Functions§
- amount_
for_ offer - Convert offer to amount in unit
- to_unit
- Helper function to convert units
Type Aliases§
- Keyset
FeeAnd Amounts - Fees and Amounts for each Keyset