ln_remote_query
Pay L402 micropayments via Phoenixd to query remote Lightning Memory gateways, receiving results and logging transactions.
Instructions
Query a remote Lightning Memory gateway via L402 micropayment.
Pays the gateway's Lightning invoice automatically via Phoenixd, then returns the query results. The payment is logged as a transaction memory.
Args: gateway_url: URL of the remote gateway (e.g., "https://gw.example.com"). operation: Operation to perform. One of: memory_query, memory_list, ln_vendor_reputation, ln_spending_summary, ln_anomaly_check, ln_preflight, ln_vendor_trust, ln_budget_check, ln_compliance_report. params: JSON string of operation-specific parameters.
Returns: Remote gateway's response data, or error details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gateway_url | Yes | ||
| operation | Yes | ||
| params | No | {} |