addresses_getWhale
Get whale addresses holding large token balances for funding test wallets on Anvil forks. Returns protocol contracts and cast commands to transfer tokens.
Instructions
Get whale addresses for funding test wallets with tokens on Anvil forks.
WHEN TO USE: When users need tokens (USDC, WETH, DAI) to test their DeFi apps.
Returns protocol contract addresses (Morpho, Aave) that hold large token balances. Protocol contracts are more reliable than EOAs because they hold funds as their core function.
Also returns one-shot cast commands to transfer tokens from the whale to a recipient.
Example usage flow:
User builds a USDC vault on Base
Call addresses_getWhale({ chain: "base", token: "USDC" })
Get Morpho Blue whale (0xBBBB...) with ~131M USDC
Provide user with cast commands to fund their wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain name (mainnet, base, optimism, arbitrum, polygon) | |
| token | Yes | Token symbol (USDC, WETH, DAI, etc.) | |
| amount | No | Optional: Amount in token's smallest unit (e.g., 10000000000 for 10k USDC) | |
| recipient | No | Optional: Recipient address to include in funding commands |