post_order_detail
Retrieve detailed information about a specific cryptocurrency order on the Bithumb exchange using order ID and currency symbol.
Instructions
Get details of a specific member order (Private)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | Order ID | |
| orderCurrency | Yes | Cryptocurrency symbol (e.g. BTC, ETH) |
Implementation Reference
- src/bitThumb/index.ts:206-216 (handler)Core handler function in ApiBithumb class that executes the Bithumb API request for retrieving specific order details.public async postOrderDetail( orderId: string, orderCurrency: string, ): Promise<IPostOrderDetail> { const param = { order_id: orderId, order_currency: orderCurrency, }; const res = <IPostOrderDetail>await this.requestInfo('order_detail', param); return res; }
- src/index.ts:184-194 (registration)Tool registration including name, description, and input schema in the MCP tools list.name: 'post_order_detail', description: 'Get details of a specific member order (Private)', inputSchema: { type: 'object', properties: { orderId: { type: 'string', description: 'Order ID' }, orderCurrency: { type: 'string', description: 'Cryptocurrency symbol (e.g. BTC, ETH)' } }, required: ['orderId', 'orderCurrency'] } },
- src/index.ts:352-354 (handler)MCP tool dispatcher case that invokes the postOrderDetail method with parsed arguments.case 'post_order_detail': result = await this.bithumbApi.postOrderDetail(args.orderId as string, args.orderCurrency as string); break;
- TypeScript interface defining the expected response structure for the order detail API.export interface IPostOrderDetail extends IBithumbResponse { data: IOrderDetail; }
- src/bitThumb/index.ts:372-390 (helper)Helper method requestInfo used by postOrderDetail to make authenticated POST request to Bithumb info endpoint.private async requestInfo( endpoint: postEndpointType, params: Record<string, unknown> = {}, ): Promise<IBithumbResponse> { const param = Object.assign(params, { payment_currency: this.paymentCurrency, }); const headers = this.getBithumbHeaders(`/info/${endpoint}`, param); const res = <AxiosResponse<IBithumbResponse>>await axios({ method: 'POST', url: `${this.hosts.infoHost}/${endpoint}`, data: queryString.stringify(param), headers, }); this.checkStatus(res); return res.data; }