botwallet_get_deposit_address
Retrieve a USDC deposit address on Solana to fund your wallet, including a portal URL for managing deposits.
Instructions
Get your USDC deposit address on Solana. Anyone can send USDC to this address to fund your wallet. Also returns a funding URL for the owner portal.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/funding.ts:7-21 (handler)The implementation of the 'botwallet_get_deposit_address' tool, including its schema and handler function.
const getDepositAddress: ToolDefinition = { name: 'botwallet_get_deposit_address', description: 'Get your USDC deposit address on Solana. Anyone can send USDC to this address to fund your wallet. ' + 'Also returns a funding URL for the owner portal.', inputSchema: z.object({}), async handler(_args, ctx) { try { const result = await ctx.sdk.getDepositAddress(); return formatResult(result); } catch (e) { return formatToolError(e); } }, };