Module fee

Source

Structs§

P2A_SCRIPT
A pay-to-anchor (p2a) output script.

Constants§

FEE_ANCHOR_SPEND_WEIGHT
The witness size of a witness spending a dust anchor.
FEE_ANCHOR_WEIGHT
The size in bytes of a fee anchor created with P2A script.

Functions§

fee_anchor
Create a p2a fee anchor output with 0 value.
fee_anchor_with_amount
Create a p2a fee anchor output with the given amount.