query_remote_api
Query remote Bitcoin API endpoints with automatic Lightning network payments. Access real-time network data and corporate treasury information through Satoshi API integration.
Instructions
Query a remote Satoshi API instance, auto-paying with Lightning if needed.
Requires SATOSHI_API_URL environment variable. Supports L402 micropayments.
Args: endpoint: API path (e.g. "/api/v1/fees", "/api/v1/blocks/latest") params: Optional query parameters as key=value pairs separated by &
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | Yes | ||
| params | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |