Type alias MeltTokensResponse

MeltTokensResponse: {
    change: Proof[];
    isPaid: boolean;
    preimage: string | null;
}

Response after paying a Lightning invoice

Type declaration

  • change: Proof[]

    Return/Change from overpaid fees. This happens due to Lighting fee estimation being inaccurate

  • isPaid: boolean

    if false, the proofs have not been invalidated and the payment can be tried later again with the same proofs

  • preimage: string | null

    preimage of the paid invoice. can be null, depending on which LN-backend the mint uses

Generated using TypeDoc