api_request
Make a raw API request to any Counterparty REST endpoint to access data or perform actions not covered by dedicated tools.
Instructions
Make a raw API request to any Counterparty REST endpoint not covered by the other tools. Full API reference: https://raw.githubusercontent.com/CounterpartyXCP/counterparty-core/refs/heads/master/apiary.apib — Example: endpoint="/v2/blocks/last", method="GET"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | HTTP method | GET |
| params | No | Query parameters (for GET) or body fields (for POST) | |
| endpoint | Yes | API endpoint path (e.g. /v2/blocks/last, /v2/addresses/{addr}/credits) |