webln.keysend()
Method
async keysend(args: KeysendArgs): SendPaymentResponse;Parameters
interface KeysendArgs {
destination: string;
amount: string | number;
customRecords?: Record<string, string>;
}Response
interface SendPaymentResponse {
preimage: string;
}Code Examples
Sending a message
π§ Podcasting 2.0: Send a boostagram
π§ Podcasting 2.0: Send a stream payment
Resources
Last updated
Was this helpful?