Skip to main content
Glama
questflowai

Aster Finance MCP Server

by questflowai

getIncomeHistory

Retrieve cryptocurrency trading income history from Aster Finance to analyze past earnings, track performance, and review transaction records for informed financial decisions.

Instructions

Get income history.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endTimeNo
incomeTypeNo
limitNo
startTimeNo
symbolNo

Implementation Reference

  • Handler implementation for the getIncomeHistory tool. It makes a signed GET request to the Aster Futures API endpoint '/fapi/v1/income' with the input arguments to retrieve income history.
    case 'getIncomeHistory': return makeRequest('GET', '/fapi/v1/income', args, true);
  • Input schema definition and tool registration for getIncomeHistory in the ListTools response. Specifies parameters like symbol, incomeType, time range, and limit.
    { name: 'getIncomeHistory', description: 'Get income history.', inputSchema: { type: 'object', properties: { symbol: { type: 'string' }, incomeType: { type: 'string' }, startTime: { type: 'number' }, endTime: { type: 'number' }, limit: { type: 'number' }, }, }, },
  • src/index.ts:476-489 (registration)
    The getIncomeHistory tool is registered here in the array of tools returned by ListToolsRequestSchema.
    { name: 'getIncomeHistory', description: 'Get income history.', inputSchema: { type: 'object', properties: { symbol: { type: 'string' }, incomeType: { type: 'string' }, startTime: { type: 'number' }, endTime: { type: 'number' }, limit: { type: 'number' }, }, }, },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/questflowai/aster-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server