qr_code
Encodes text, a URL, a wallet address or a payment URI (ethereum:, solana:) into a QR code, returned as scalable SVG and a GIF data URL. 0.001 USDC per call via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ecc | No | Error correction L, M, Q or H | M |
| text | Yes | Content to encode (max 2000 characters) | |
| cellSize | No | ||
| paymentProof | No | Payment proof: USDC tx hash on Polygon or Base (0x...) or Solana tx signature. Omit on the first call to receive the 402 payment instructions, pay, then call again with the proof. |