Use this file to discover all available pages before exploring further.
Ondo Global Markets offers tokenized versions of publicly-traded stocks and ETFs on Solana. These tokens (such as NVDAon for Nvidia, TSLAon for Tesla, and SPYon for S&P 500) can be swapped on decentralized exchanges via Jupiter, making them accessible to both human users and AI agents through Crossmint wallets.This guide demonstrates how to swap USDC for Ondo GM tokens using the Jupiter swap API with Crossmint wallets on Solana.
The swap flow uses the same pattern as any Jupiter swap with Crossmint wallets:
Request a quote from the Jupiter API for the USDC to Ondo token pair.
Build the swap transaction using the Jupiter API.
Sign and send the transaction using the Crossmint wallet.
Ondo GM tokens on Jupiter may route through multiple AMM pools (such as Manifest, Meteora DLMM, or Raydium CLMM). Always set maxAccounts=33 to ensure multi-hop swaps fit within Solana transaction account limits.
Transactions must be approved by one of the wallet’s signers.
The SDK handles this automatically, but with the REST API you must approve the transaction to complete it.
1
Get a quote from Jupiter
Call the Jupiter quote endpoint with the USDC mint as input and the Ondo token mint as output.
cURL
curl --request GET \ "https://lite-api.jup.ag/swap/v1/quote?inputMint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&outputMint=gEGtLTPNQ7jcg25zTetkbmF7teoDLcrfTnQfmn2ondo&amount=1000000&slippageBps=300&maxAccounts=33"
2
Build the swap transaction
Pass the quote response to the Jupiter swap endpoint along with your wallet address.