post_withdrawal_krw
Request a Korean Won withdrawal from your Bithumb exchange account to a specified bank account by providing bank details and amount.
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 in ApiBithumb class that executes KRW withdrawal by preparing parameters and calling the internal requestTrade method to POST to Bithumb's /trade/krw_withdrawal endpoint.
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 (schema)MCP tool input schema definition, specifying parameters bank, account, price with types and descriptions for validation.
{ 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)Registration in the CallToolRequestSchema handler switch statement, mapping the tool name to the bithumbApi.postWithdrawalKrw call.
case 'post_withdrawal_krw': result = await this.bithumbApi.postWithdrawalKrw( args.bank as string, args.account as string, args.price as number ); break; - TypeScript interface for the output response of postWithdrawalKrw, extending the base Bithumb response type.
import { IBithumbResponse } from './bithumb-response.interface.js'; export interface IPostWithDrawalKrw extends IBithumbResponse {} - src/index.ts:274-286 (registration)Tool definition registered in the tools array for ListToolsRequestSchema, including name, description, and input schema.
{ 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'] } }