interface LightningInvoice {
    data?: CommonData;
    invoice: string;
    parsed: ParsedInvoice;
    position?: Position;
    type: "lightning";
}

Hierarchy (view full)

  • Node
    • LightningInvoice

Properties

data?: CommonData
invoice: string
position?: Position

Position of a node in a source document.

Nodes that are generated (not in the original source document) must not have a position.

type

Node type.