Skip to main content

zap

Function zap 

Source
fn zap(event: &Event) -> Option<(EventId, u64)>
Expand description

The note a zap receipt is for, and what was paid, in millisats: the amount of the invoice the receipt carries.

A receipt is taken at its word. Whether it comes from the wallet service of the person zapped is not checked: that takes asking their Lightning address, once for every author.