Skip to main content

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

  1. Your app generates a deposit URL with the recipient address, chain, and token.
  2. User connects their wallet (MetaMask, Coinbase, Rainbow, Rabby, Trust Wallet).
  3. User picks a token from their available balances.
  4. AnySpend routes the payment cross-chain if needed, converting to the destination token.
  5. Done — optionally redirect the user back to your app.

URL parameters

The deposit page accepts these URL parameters: * Not required for Hyperliquid chain where USDC is the default token.

Example URLs

Basic deposit to Base USDC:
Fixed amount deposit:
With redirect:

Supported wallets

Supported out of the box:
  • MetaMask
  • Coinbase Wallet
  • Rainbow
  • Rabby
  • Trust Wallet
Auto-connect is enabled for returning users who have previously connected their wallet.

Special chain support

Hyperliquid

Hyperliquid gets special handling:
  • USDC uses a special 34-character address format (0x00000000000000000000000000000000)
  • When toChainId is set to Hyperliquid, toCurrency defaults to USDC if not specified
  • Zero addresses are automatically corrected to the Hyperliquid USDC format

Partner integration

Partners can be configured with custom settings:
To register as a partner, contact the AnySpend team to add your configuration.

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

Integration example

Generate a deposit link in your app: