Skip to main content
Glama

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
NameRequiredDescriptionDefault
unitsYesWithdrawal quantity
addressYesWithdrawal address
currencyNoCryptocurrency symbol (e.g. BTC, ETH)BTC
destinationNoDestination tag/memo (optional, if required)

Implementation Reference

  • 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'] } },
  • 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 {}

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zereight/bithumb-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server