qr_generate
Generate a PNG QR code for any payload, such as a Bitcoin, Liquid, or Lightning address, invoice, or URI, and return its file path. Optionally include terminal-friendly block art.
Instructions
Generate a PNG QR code for arbitrary content and return qr_code_path. Optionally includes a terminal-friendly block QR string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Content to encode (address, invoice, URI, or other QR payload). | |
| filename | No | Optional PNG filename; defaults to qr_<sha256[:16]>.png. | |
| terminal | No | Also return terminal_qr block art. | |
| output_dir | No | Optional directory for the PNG; defaults to ~/.aqua/qr. |