Execute a gasless cross-chain USDC transfer.
For Solana source transfers, use /sdk/v1/solana/build-tx instead.
Request Body
Source chain: ETH, BASE, ARB, POLYGON
Destination chain: ETH, BASE, ARB, POLYGON, SOLANA
Amount in USDC (e.g., "100.00")
ERC-2612 permit signature
Response
curl -X POST https://api.sw4p.io/sdk/v1/transfer \
-H "Content-Type: application/json" \
-H "X-API-Key: sk_..." \
-d '{
"from": "BASE",
"to": "SOLANA",
"amount": "100.00",
"recipient": "5abc...",
"permit": {...}
}'
{
"intent_id": "int_abc123",
"status": "pending",
"tx_hash": "0x..."
}