lw_address
Generate a receive address for a wallet and return a QR code PNG path so users can scan and pay.
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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "lw_address"
}
}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 |