post_withdrawal_coin
Withdraw cryptocurrency from your Bithumb exchange account to an external wallet address. Specify the amount, currency, and destination address to process withdrawals.
Instructions
Request a coin withdrawal (Private)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | Yes | Withdrawal quantity | |
| address | Yes | Withdrawal address | |
| currency | No | Cryptocurrency symbol (e.g. BTC, ETH) | BTC |
| destination | No | Destination tag/memo (optional, if required) |
Implementation Reference
- src/bitThumb/index.ts:315-331 (handler)The core handler function in the BitThumb API class that executes the coin withdrawal by preparing parameters and calling the Bithumb trade API endpoint 'btc_withdrawal'.public async postWithdrawalCoin( units: number, address: string, currency = 'BTC', desination?: string, ): Promise<IPostWithdrawalCoin> { const param = { units, address, currency, desination, }; const res = <IPostWithdrawalCoin>( await this.requestTrade('btc_withdrawal', param) ); return res; }
- src/index.ts:260-273 (registration)MCP tool registration defining the name 'post_withdrawal_coin', description, and input schema.{ name: 'post_withdrawal_coin', description: 'Request a coin withdrawal (Private)', inputSchema: { type: 'object', properties: { units: { type: 'number', description: 'Withdrawal quantity' }, address: { type: 'string', description: 'Withdrawal address' }, currency: { type: 'string', description: 'Cryptocurrency symbol (e.g. BTC, ETH)', default: 'BTC' }, destination: { type: 'string', description: 'Destination tag/memo (optional, if required)' } }, required: ['units', 'address'] } },
- src/index.ts:384-391 (handler)Dispatch handler in the MCP server that calls the BitThumb API's postWithdrawalCoin method with parsed arguments.case 'post_withdrawal_coin': result = await this.bithumbApi.postWithdrawalCoin( args.units as number, args.address as string, args.currency as string | undefined, args.destination as string | undefined ); break;
- Type definition for the response of the postWithdrawalCoin method.export interface IPostWithdrawalCoin extends IBithumbResponse {}