Skip to main content
POST /v2/wallets returns the wallet immediately. Its status is creating while initial setup is in progress, or idle when a prepared wallet is available. Poll GET /v2/wallets/{id} and use only the deposit address returned for your intended network. An idle wallet can still be preparing other addresses; see Address readiness.
Ondo stocks are available only in manually allocated Portfolio Wallets (autoRebalance: false). Automatic rebalancing strategies accept cash and yield sources, not stock targets. Choose the allocation behavior when you create the wallet; see How Auto Rebalancing Works.

Create a portfolio wallet

Place each yield source under its catalog allocationGroup from GET /v2/wallets/assets. Use cash to keep funds uninvested in that group; omitted groups start at 100% cash. See Allocation groups for network compatibility and How Auto Rebalancing Works to choose automatic or manual allocation. In production, ordinary automatic rebalancing requires at least $5 per planned movement, so splitting a small deposit across several targets can leave cash uninvested. See When a rebalance happens for the threshold and examples. Choose sources from your environment’s current catalog and adjust the example allocations to match. Both production and sandbox expose ground-jaaa-usdt-vault under usdt, for example. Each included group must total 100%. A first POST with a new requestId returns 200 OK. A wallet still being created has no deposit addresses and zero balances; its configured targets can already appear as zero-value positions. A prepared wallet can return immediately with its ready addresses. Retrying with the same requestId and an identical payload returns 200 OK with the wallet’s current state. Reusing a requestId with a different payload (such as a different label or allocations) returns 409 request_id_conflict. Use a fresh requestId for a new wallet. See Idempotency for the full comparison rules.

Creating response

Polling for activation

Poll GET /v2/wallets/{id} every 1-2 seconds until the wallet becomes active or fails. The example below waits for activation; before funding, also check address readiness for the intended network:
See Polling for more on the poll pattern.

Ready response

Once status === "idle", the wallet is active. Fund only a network whose address has appeared in depositAddresses. Other networks may still be preparing their addresses. See Address readiness. This example shows the addresses already available:

Sandbox ready response

This sandbox example uses a cash strategy and shows all four automatically prepared deposit networks: Ethereum Sepolia, Solana Devnet, TRON Shasta, and Stellar Testnet. During provisioning, only ready network addresses appear:

Key fields

Failed response

If wallet setup fails terminally, GET /v2/wallets/{id} returns:
Failed wallets cannot be recovered by retrying the same requestId. Create a new wallet with a fresh requestId and contact support if the failure reason is unclear.

Rebalancing

In automatically allocated wallets, holdings can drift from target allocations over time or after deposits and withdrawals. Ground rebalances eligible funds to bring positions toward the strategy targets. Deposits first appear as cash and are then deployed into the configured yield sources when the rebalance conditions are met.

Sandbox notes

Use the network-specific testnet address returned by your wallet and the supported test asset for that network. See Supported Chains for Ethereum Sepolia, Solana Devnet, Stellar Testnet, and TRON Shasta funding.