lw_address
Generate a receive address for your wallet. Optionally specify an index to reuse an address, or omit to get the next unused one. Returns a QR code image for scanning.
Instructions
Generate a receive address. Also returns qr_code_path: a PNG QR of the address — display it to the user so they can scan it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | If index is omitted, returns the next unused receive address (idempotent). Specifying an index gets the address at that index. | |
| wallet_name | No | Name of the wallet | default |