LIST_WITHDRAWAL_ADDRESSES
Retrieve registered withdrawal addresses from your Upbit account to manage cryptocurrency transfers securely.
Instructions
List registered withdrawal-allowed addresses (requires private API)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The execute handler that authenticates with Upbit private API and fetches the list of registered withdrawal coin addresses.execute: async () => { ensurePrivateEnabled(); const baseURL = `${config.upbit.baseUrl}${config.upbit.apiBasePath}`; const client = createHttpClient(baseURL); const token = signJwtToken(); const data = await fetchJson<unknown>(client, "/withdraws/coin_addresses", { headers: { Authorization: `Bearer ${token}` }, }); return JSON.stringify(data, null, 2); },
- Zod schema for tool parameters; empty object as no input parameters are required.parameters: z.object({}),
- src/index.ts:39-39 (registration)Registers the LIST_WITHDRAWAL_ADDRESSES tool with the FastMCP server instance.server.addTool(listWithdrawalAddressesTool);