What it does
A hosted deposit page where users can send tokens to a specific wallet address. They connect their wallet, pick a token, and AnySpend handles the cross-chain routing. You generate a URL, they click it.How it works
- Your app generates a deposit URL with the recipient address, chain, and token.
- User connects their wallet (MetaMask, Coinbase, Rainbow, Rabby, Trust Wallet).
- User picks a token from their available balances.
- AnySpend routes the payment cross-chain if needed, converting to the destination token.
- Done — optionally redirect the user back to your app.
URL parameters
The deposit page accepts these URL parameters:| Parameter | Required | Description |
|---|---|---|
recipientAddress | Yes | The wallet address to receive the deposit (valid EVM address) |
toChainId | Yes* | The destination chain ID (e.g., 8453 for Base) |
toCurrency | Yes* | The token contract address on the destination chain |
amount | No | Fixed amount in wei/smallest unit. When provided, user cannot change the amount |
redirect_url | No | HTTPS URL to redirect after completion |
redirect_label | No | Custom label for the redirect button |
partner | No | Partner ID for custom configuration |
Example URLs
Basic deposit to Base USDC:Supported wallets
Supported out of the box:- MetaMask
- Coinbase Wallet
- Rainbow
- Rabby
- Trust Wallet
Special chain support
Hyperliquid
Hyperliquid gets special handling:- USDC uses a special 34-character address format (
0x00000000000000000000000000000000) - When
toChainIdis set to Hyperliquid,toCurrencydefaults to USDC if not specified - Zero addresses are automatically corrected to the Hyperliquid USDC format
Partner integration
Partners can be configured with custom settings:Security
- Only HTTPS redirect URLs are allowed (prevents open redirect attacks)
- Amounts must be valid positive integers (wei)
- Addresses are validated before processing
Common use cases
- Telegram bots — fund bot wallets via a shareable link
- Gaming — deposit tokens to game accounts
- Marketplaces — fund escrow addresses
- Tipping — let users tip creators with a deposit link
HypeDuel