getLeverageBrackets
Retrieve notional and leverage brackets for cryptocurrency trading positions to manage risk and margin requirements on the Aster exchange.
Instructions
Get notional and leverage brackets.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No |
Implementation Reference
- src/index.ts:679-680 (handler)The handler logic for the 'getLeverageBrackets' tool. It invokes a signed GET request to the Binance Futures API endpoint '/fapi/v1/leverageBracket' using the generic makeRequest function.case 'getLeverageBrackets': return makeRequest('GET', '/fapi/v1/leverageBracket', args, true);
- src/index.ts:493-498 (schema)Input schema for the 'getLeverageBrackets' tool, defining 'symbol' as a required string property.inputSchema: { type: 'object', properties: { symbol: { type: 'string' }, }, },
- src/index.ts:490-499 (registration)Registration of the 'getLeverageBrackets' tool in the tools list provided to the MCP server.setTools method.{ name: 'getLeverageBrackets', description: 'Get notional and leverage brackets.', inputSchema: { type: 'object', properties: { symbol: { type: 'string' }, }, }, },