post_account
Retrieve account details and fee information for a specific cryptocurrency on the Bithumb exchange.
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/index.ts:125-135 (registration)Registration of the 'post_account' tool in the MCP server's tools list, including name, description, and 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'] } },
- src/index.ts:319-321 (handler)MCP tool call handler dispatch for 'post_account', which delegates to the Bithumb API client's postAccount method.case 'post_account': result = await this.bithumbApi.postAccount(args.coinCode as string); break;
- src/bitThumb/index.ts:139-145 (handler)Core implementation of the postAccount method in the Bithumb API client, which makes an authenticated POST request to the Bithumb /info/account endpoint to retrieve account information and fees.public async postAccount(coinCode: string): Promise<IPostAccount> { const params = { order_currency: coinCode, }; const res = <IPostAccount>await this.requestInfo('account', params); return res; }
- TypeScript interface defining the expected response structure for the postAccount API call.export interface IPostAccount extends IBithumbResponse { data: IAccount; }