Skip to main content

invoice_url

Function invoice_url 

Source
fn invoice_url(
    pay_info: &PayInfo,
    millisats: u64,
    request: Option<&Event>,
    comment: &str,
) -> Url
Expand description

Where an invoice for millisats is asked for: pay_info’s callback, with the amount and, for a zap, the signed request. A plain payment carries the comment instead, if the address takes one that long.