post_account
Retrieve account details and fee information for specific cryptocurrencies on the Bithumb exchange. This tool provides access to private account data required for trading decisions.
Instructions
Get member account information and fees (Private)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coinCode | Yes | Cryptocurrency symbol (e.g. BTC, ETH) |
Implementation Reference
- src/bitThumb/index.ts:139-145 (handler)Core handler function implementing the post_account tool logic by making a POST request to Bithumb's /info/account endpoint.public async postAccount(coinCode: string): Promise<IPostAccount> { const params = { order_currency: coinCode, }; const res = <IPostAccount>await this.requestInfo('account', params); return res; }
- src/index.ts:319-321 (handler)MCP server tool call handler for 'post_account' that delegates to the BitThumb API client.case 'post_account': result = await this.bithumbApi.postAccount(args.coinCode as string); break;
- src/index.ts:125-135 (registration)Tool registration in the MCP server's tools list, including input schema.{ name: 'post_account', description: 'Get member account information and fees (Private)', inputSchema: { type: 'object', properties: { coinCode: { type: 'string', description: 'Cryptocurrency symbol (e.g. BTC, ETH)' } }, required: ['coinCode'] } },
- TypeScript interface defining the expected response structure for the post_account tool.export interface IPostAccount extends IBithumbResponse { data: IAccount; }