keysendArgs static method
KeysendArgs
keysendArgs({})
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);