mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 13:54:20 +01:00
13 lines
306 B
TypeScript
13 lines
306 B
TypeScript
import { sendPayment } from "@breeztech/react-native-breez-sdk"
|
|
|
|
const exampleSendLightningPayment = async () => {
|
|
// ANCHOR: send-payment
|
|
const bolt11 = "..."
|
|
|
|
const sendPaymentResponse = await sendPayment({
|
|
bolt11,
|
|
amountMsat: 3000000
|
|
})
|
|
// ANCHOR_END: send-payment
|
|
}
|