ldk_generate_invoice
Create a Lightning invoice with a real payment hash for testing purposes. Specify amount in satoshis, description, and expiry time to generate invoices for iOS Lightning wallet development.
Instructions
Generate a Lightning invoice with real payment hash for testing
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amountSats | Yes | Amount in satoshis | |
description | No | Invoice description | |
expirySeconds | No | Invoice expiry time in seconds (default: 3600) |