ping
Test connectivity to the Aster Finance Futures API to verify system availability and ensure cryptocurrency trading operations can proceed.
Instructions
Test connectivity to the Rest API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:583-584 (handler)The execution handler for the 'ping' tool. It dispatches a GET request to the '/fapi/v1/ping' endpoint using the shared makeRequest helper function.
case 'ping': return makeRequest('GET', '/fapi/v1/ping', {}); - src/index.ts:52-52 (registration)The tool registration entry in the listTools response, including name, description, and input schema (empty object).
{ name: 'ping', description: 'Test connectivity to the Rest API.', inputSchema: { type: 'object', properties: {} } }, - src/index.ts:52-52 (schema)Input schema definition for the 'ping' tool: an empty object (no parameters required).
{ name: 'ping', description: 'Test connectivity to the Rest API.', inputSchema: { type: 'object', properties: {} } },