Send & Receive API
Endpoints for building token transfers and generating receive QR codes. Base path: /send-receive. See the Send & Receive feature page for the user-facing flow.
Send Token
POST /send-receive/send
Builds an unsigned EVM or Solana transfer transaction for the client to sign and submit. The sender (walletAddress) must match the authenticated wallet.
Request Body:
| Field | Type | Required | Description |
|---|---|---|---|
walletAddress | string | Yes | Sender address (must match the authenticated wallet) |
toAddress | string | Yes | Recipient address |
tokenAddress | string | No | Token contract / mint. Omit for a native transfer (ETH, SOL, etc.) |
amount | string | Yes | Amount in smallest units (wei / lamports / token base units), digits only |
chainId | number | Yes | Chain ID (a supported EVM chain, or 999 for Solana) |
The response contains the unsigned transaction to sign with the user's wallet.
Receive QR Code
GET /send-receive/qr
Returns a base64 PNG data URL QR code for the given address, used on the Receive tab.
Query Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
address | string | Yes | Wallet address to encode |