Send USDC on Solana
Changed onSends USDC from an end user's Solana account to a recipient address on the Solana network. This endpoint simplifies USDC transfers by automatically handling mint resolution, Associated Token Account (ATA) creation, decimal conversion, and transaction encoding. The amount field accepts human-readable amounts as decimal strings (e.g., "1.5", "25.50"). Use the optional createRecipientAta parameter to control whether the sender pays for creating the recipient's Associated Token Account if it doesn't exist.
Request
- Base URLhttps://api.cdp.coinbase.com/platform
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
The ID of the end user.
A blockchain address. Format varies by network (e.g., 0x-prefixed for EVM, base58 for Solana).
The base58 encoded address of the Solana account to send USDC from.
The symbol of the asset (e.g., eth, usd, usdc, usdt).
The asset to send. Currently only "usdc" is supported.
Query parameters
The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
Headers
A JWT signed using your Wallet Secret, encoded in base64. Refer to the Generate Wallet Token section of our Authentication docs for more details on how to generate your Wallet Token.
An optional string request header for making requests safely retryable. When included, duplicate requests with the same key will return identical responses. Refer to our Idempotency docs for more information on using idempotency keys.
A JWT signed using your Wallet Secret, encoded in base64. Refer to the Generate Wallet Token section of our Authentication docs for more details on how to generate your Wallet Token.
Request body
The base58 encoded address of the recipient.
The amount of USDC to send as a decimal string (e.g., "1.5" or "25.50").
The Solana network to send USDC on.
Whether to automatically create an Associated Token Account (ATA) for the recipient if it doesn't exist. When true, the sender pays the rent-exempt minimum to create the recipient's USDC ATA. When false, the transaction will fail if the recipient doesn't have a USDC ATA.
Required when not using delegated signing. The ID of the Temporary Wallet Secret that was used to sign the X-Wallet-Auth Header.
Whether transaction fees should be sponsored by CDP. When true, CDP sponsors the transaction fees on behalf of the end user. When false, the end user is responsible for paying the transaction fees.
Example request
{
"to": "ExXhNkgYf6efh7YyqDRVxPZuzafobao1A74drUdp8trd",
"amount": "1.50",
"network": "solana-devnet",
"createRecipientAta": true,
"walletSecretId": "e051beeb-7163-4527-a5b6-35e301529ff2",
"useCdpSponsor": true
}Response
Successfully sent transaction.
The base58 encoded transaction signature.
Example response
{
"transactionSignature": "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW"
}Changes
- warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status - warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status - warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status
6 more changes in this revision
- warning