SendPaymentRequest class

Represents a send payment request.

Constructors

SendPaymentRequest({required String bolt11, required bool useTrampoline, int? amountMsat, String? label})
const

Properties

amountMsat int?
The amount to pay in millisatoshis. Should only be set when bolt11 is a zero-amount invoice.
final
bolt11 String
The bolt11 invoice
final
hashCode int
The hash code for this object.
no setterinherited
label String?
The external label or identifier of the Payment
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useTrampoline bool
Trampoline payments outsource pathfinding to the LSP. Trampoline payments can improve payment performance, but are generally more expensive in terms of fees and they compromise on privacy.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited