keysendArgs static method

KeysendArgs keysendArgs({
  1. required String destination,
  2. required dynamic amount,
  3. Map<String, String>? customRecords,
})

KeysendArgs parameters data types:

  • destination : String (Hex encoded public key of the destination node)
  • amount : String|num (The amount of satoshis you want to send)
  • customRecords? : Map<String, String>? (Records that are appended to the payment)

Implementation

static KeysendArgs keysendArgs(
        {required String destination,
        required dynamic amount,
        Map<String, String>? customRecords}) =>
    KeysendArgs(
        destination: destination,
        amount: amount,
        customRecords: customRecords);