toreador_generate_qr
Generate a crypto QR code for native tokens (BTC, ETH, SOL, POL) or Solana USDC. Returns the QR data URI and on-chain payment URI free of charge.
Instructions
Generate a crypto QR code for a native token (BTC, ETH, SOL, POL) or a Solana SPL token (USDC on Solana). Returns the QR data URI (PNG base64) and the on-chain payment URI (BIP21, EIP-681, Solana Pay). FREE — no API key needed for these chains. For ERC-20 stablecoins on Ethereum/Polygon/Base (USDT, USDC, EURC), use toreador_create_session (Pro plan required).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Token symbol. One of: BTC, ETH, SOL, POL, USDC (Solana only). | |
| chainId | Yes | Chain identifier. One of: bitcoin, ethereum, polygon, base, solana. | |
| amount | Yes | Amount as a decimal string in the token's natural unit (e.g. "0.001" for BTC, "50" for USDC). Use a string to preserve decimal precision. | |
| recipientAddress | Yes | Destination wallet address. Must match the chain (bech32 for BTC, EIP-55 for EVM, base58 for Solana). |