PayKeysendRequest constructor

const PayKeysendRequest({
  1. required dynamic amountMsat,
  2. required String pubkey,
  3. String? preimage,
  4. List<TlvRecord>? tlvRecords,
})

Implementation

const PayKeysendRequest({
  required amountMsat,
  required this.pubkey,
  this.preimage,
  this.tlvRecords,
})  : amountSat = amountMsat ~/ 1000,
      super(method: NwcMethod.PAY_KEYSEND);