transfer contract call from an authenticated non-custodial wallet.
Start with the quickstart for your SDK first: TypeScript, React Native, Swift, or Kotlin.
1. Authenticate
Authenticate the user and resolve an active wallet session before submitting transactions. These snippets use email OTP, matching the quickstart flow.- TypeScript
- React Native
- Swift
- Kotlin
2. Send USDC
Send USDC by calling the ERC-20transfer method from the authenticated wallet. USDC uses 6 decimals, so 1.00 USDC is the raw base-unit value 1000000.
Replace 0xTokenContract with the USDC contract for the network you are sending on. For Polygon PoS mainnet, native USDC is 0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359. The snippets use Polygon mainnet; to test on Polygon Amoy, switch the network value and use a test ERC-20 contract with 6 decimals.
- TypeScript
- React Native
- Swift
- Kotlin