Module note
Source - utils
- NoteConsumptionStatus
- Describes if a note could be consumed under a specific conditions: target account state
and block height.
- WellKnownNote
- The enum holding the types of basic well-known notes provided by the
miden-lib.
- create_p2id_note
- Generates a P2ID note - Pay-to-ID note.
- create_p2ide_note
- Generates a P2IDE note - Pay-to-ID note with optional reclaim after a certain block height and
optional timelock.
- create_swap_note
- Generates a SWAP note - swap of assets between two accounts - and returns the note as well as
NoteDetails for the payback note.