GET_DEPOSIT
Retrieve a specific cryptocurrency deposit transaction from Upbit using its unique UUID identifier to track and verify deposit status.
Instructions
Get a single deposit by UUID (requires private API)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes |
Implementation Reference
- src/tools/get-deposit.ts:14-25 (handler)The execute function that implements the core logic of the GET_DEPOSIT tool: authenticates with Upbit private API and fetches deposit details by UUID.execute: async ({ uuid }: Params) => { ensurePrivateEnabled(); const baseURL = `${config.upbit.baseUrl}${config.upbit.apiBasePath}`; const client = createHttpClient(baseURL); const query = { uuid }; const token = signJwtToken(query); const data = await fetchJson<unknown>(client, "/deposit", { params: query, headers: { Authorization: `Bearer ${token}` }, }); return JSON.stringify(data, null, 2); },
- src/tools/get-deposit.ts:6-9 (schema)Zod input schema defining the required 'uuid' parameter and inferred TypeScript type for the tool.const paramsSchema = z.object({ uuid: z.string().min(1) }); type Params = z.infer<typeof paramsSchema>;
- src/index.ts:48-48 (registration)Registers the getDepositTool (named GET_DEPOSIT) with the FastMCP server instance.server.addTool(getDepositTool);