destinationHex encoded public key of the destination node. This is a string of length 66 that starts either with
amountThe amount of satoshis you want to send as a stringified integer.
map<string, string>of records that are appended to the payment. The key should be a stringified integer from the TLV Registry. The value should be an unencoded, plain string. The WebLN provider should handle the encoding if necessary. If no custom records are needed, this parameter can be omitted.
preimageNote that the
preimageis not a proof of payment, because unlike a bolt11 payment it is generated by the sender, not by the recipient.