Send stablecoins to an outside wallet
Send USDC or USDT from a Gravv wallet to an outside address on the same network, including Stellar addresses that need a memo.
Use this recipe to send USDC or USDT from a Gravv wallet to an outside address on the same network, including a Stellar address that needs a memo.
Who it is for. An import business that pays a supplier's USDC address on Polygon, and sometimes withdraws to a crypto exchange's Stellar address that needs a memo.
Status. Available on the same network. Not supported from avalanche or sui wallets, or on tron.
Money example
fee and fee_currency. Say the fee is 1.00.Before you start
GET /v1/wallets/{wallet_id} shows assets[] with symbol USDC and a balance of at least the amount plus the fee. A missing asset means Gravv has not read the balance yet, not that the balance is zero.Find out what is required
0x address exists on every EVM network, so the address alone does not tell you.source.crypto_asset as USDC or USDT. Do not send a different destination.crypto_asset, because that makes the transfer a conversion. See Convert USDT and USDC.Steps
1. Send
In the response, amount_currency is USD, not USDC. The source can also be a wallet-backed account ("source_type": "internal_account" with the account id). Its network is the account's blockchain_network.
2. To an exchange's Stellar address, add the memo
From a Stellar wallet, add blockchain_memo exactly as the exchange shows it. Without it, the exchange cannot tell whose deposit it is.
3. Wait for the chain
Poll GET /v1/transactions/b937af87-991a-4ca0-bb59-e9eda2bf6f7e until its status is completed or failed. A completed transaction has tx_hash. To find a transfer by its hash later, use GET /v1/transactions?tx_hash=….
What can go wrong
| Response | Why | Fix |
|---|---|---|
400 the source account (polygon network) and destination (ethereum network) must be on the same blockchain network | The networks differ | Use a wallet on the destination's network |
400 transfers from avalanche accounts are not currently supported (also sui) | Wallets on these networks cannot send | Move the funds to another network first |
400 insufficient balance from a tron or arbitrum wallet | These wallets have no tracked balance, so they cannot send | Send from a polygon, ethereum, solana or stellar wallet |
400 destination.wallet_address is required for a crypto wallet transfer or destination.blockchain_network is required for a crypto wallet transfer | A required field is missing | Send both |
400 Both wallets must belong to the same customer to convert USDC to USDT. | destination.crypto_asset differs from the asset sent | Leave destination.crypto_asset out. To send the other asset, convert first |
400 the source wallet was not found or the source wallet is not active (status: …) | The wallet id is wrong | Find the right id with GET /v1/wallets |
400 insufficient balance | The amount plus the fee is more than the balance | Fund the wallet |
Accepted, then transfer.status.failed soon after with no tx_hash | amount had more than 2 decimal places | Send at most 2 decimal places |
Accepted, then transfer.status.failed about 30 minutes later, and the fee refunded | The network refused the send because of a malformed address, an unsupported asset, or a Stellar address that has not enabled USDC. Gravv does not check the format of same-network addresses when you send | Fix the address, or ask the receiver to enable USDC on Stellar, then send again |
pending with no progress | Gravv is still waiting for the chain's response | Wait. If it lasts unusually long, contact support with the reference |
| Sent to an exchange without the memo | The funds reached the exchange's shared address | Contact the exchange with the tx_hash. You cannot recall an on-chain send |
Webhooks you will receive
transfer.status.pending, with workflow_type crypto_transfer, usually twice. Both events already carry event_data.tx_hash.transfer.status.completed with event_data.tx_hash, or transfer.status.failed.Testing in sandbox
A normal transfer with a sandbox key settles at once with sandbox test dollars. For example, 2.00 USDC from a polygon wallet to an outside polygon address completed with a tx_hash within 3 seconds (channel polygon, transaction_type crypto_transfer).
Sandbox wallets are on test networks, and public faucet USDC does not show in their balance. A sandbox Stellar wallet could not be funded, so the memo send returns insufficient balance after its request checks pass.