post_withdrawal_krw
Request a Korean Won withdrawal from your Bithumb exchange account to a specified bank account. Submit bank details and amount to process the withdrawal.
Instructions
Request a KRW withdrawal (Private, Deprecated by Bithumb)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | Yes | Bank code and name (e.g., 004_은행) | |
| account | Yes | Account number | |
| price | Yes | Withdrawal amount |
Implementation Reference
- src/bitThumb/index.ts:338-352 (handler)Core handler function that executes the KRW withdrawal request by preparing parameters and calling the internal requestTrade method with endpoint 'krw_withdrawal'.public async postWithdrawalKrw( bank: string, account: string, price: number, ): Promise<IPostWithDrawalKrw> { const param = { bank, account, price, }; const res = <IPostWithDrawalKrw>( await this.requestTrade('krw_withdrawal', param) ); return res; }
- src/index.ts:274-286 (registration)Tool registration in the MCP server's tools list, including name, description, and input schema for listTools requests.{ name: 'post_withdrawal_krw', description: 'Request a KRW withdrawal (Private, Deprecated by Bithumb)', inputSchema: { type: 'object', properties: { bank: { type: 'string', description: 'Bank code and name (e.g., 004_은행)' }, account: { type: 'string', description: 'Account number' }, price: { type: 'number', description: 'Withdrawal amount' } }, required: ['bank', 'account', 'price'] } }
- src/index.ts:392-398 (registration)Dispatch logic in the MCP callTool handler that routes 'post_withdrawal_krw' calls to the Bithumb API implementation.case 'post_withdrawal_krw': result = await this.bithumbApi.postWithdrawalKrw( args.bank as string, args.account as string, args.price as number ); break;
- TypeScript interface defining the expected response structure for postWithdrawalKrw, extending the base Bithumb response.import { IBithumbResponse } from './bithumb-response.interface.js'; export interface IPostWithDrawalKrw extends IBithumbResponse {}