Skip to main content
Glama
zereight

Bithumb MCP Server

post_user_transactions

Retrieve a user's transaction history on Bithumb exchange to track buys, sells, deposits, and withdrawals for specific cryptocurrencies.

Instructions

Get member's transaction completion history (Private)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
searchGbYesSearch type (0: all, 1: buy complete, 2: sell complete, 3: withdrawal processing, 4: deposit, 5: withdrawal complete, 9: KRW deposit)
orderCurrencyYesCryptocurrency symbol (e.g. BTC, ETH)
offsetNoStart index for retrieval (optional)
countNoNumber of transactions to retrieve (optional, default: 20)

Implementation Reference

  • Core handler function implementing the logic to fetch user transaction history via Bithumb's private API.
    public async postUserTransactions(
      searchGb: number,
      orderCurrency: string,
      offset?: number,
      count?: number,
    ): Promise<IPostUserTransactions> {
      const param = {
        searchGb,
        order_currency: orderCurrency,
        offset,
        count,
      };
      const res = <IPostUserTransactions>(
        await this.requestInfo('user_transactions', param)
      );
      return res;
    }
  • src/index.ts:195-207 (registration)
    MCP tool registration defining the name, description, and input schema.
    {
      name: 'post_user_transactions',
      description: 'Get member\'s transaction completion history (Private)',
      inputSchema: {
        type: 'object',
        properties: {
          searchGb: { type: 'number', enum: [0, 1, 2, 3, 4, 5, 9], description: 'Search type (0: all, 1: buy complete, 2: sell complete, 3: withdrawal processing, 4: deposit, 5: withdrawal complete, 9: KRW deposit)' },
          orderCurrency: { type: 'string', description: 'Cryptocurrency symbol (e.g. BTC, ETH)' },
          offset: { type: 'number', description: 'Start index for retrieval (optional)' },
          count: { type: 'number', description: 'Number of transactions to retrieve (optional, default: 20)' }
        },
        required: ['searchGb', 'orderCurrency']
      }
  • MCP server handler that routes the tool call to the BithumbApi instance.
    case 'post_user_transactions':
      result = await this.bithumbApi.postUserTransactions(
        args.searchGb as number,
        args.orderCurrency as string,
        args.offset as number | undefined,
        args.count as number | undefined
      );
  • TypeScript interfaces defining the structure of the response data for the tool.
    import { IBithumbResponse } from './bithumb-response.interface.js';
    
    interface IUserTransactions {
      search: string;
      transfer_date: number;
      order_currenecy: string;
      payment_currency: string;
      units: string;
      price: string;
      amount: string;
      fee_currency: string;
      fee: string;
      order_balance: string;
      payment_balance: string;
    }
    
    export interface IPostUserTransactions extends IBithumbResponse {
      data: IUserTransactions[];
    }

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