Fund your wallet
You trade from what your wallet holds. The app creates the wallet when you set up a passkey. Send tokens to it on-chain, or buy with a card at app.truemarkets.co. Then check your balance before you trade.
Send tokens to your wallet
Your wallet has one Solana address and one EVM address. The EVM address is the same on every EVM chain we support. Find both at app.truemarkets.co.
Send the stablecoin a market buy spends, on the chain you want to trade on, such as USDC on Solana. An order's quote names that asset in quote_asset, and each asset in the catalog has a chain field that tells you which network to fund. We pay the network fees.
Tokens sent on the wrong network can be lost.
Check the balance
Your balance updates once the network confirms the transfer. available is what you can trade with now. The code uses the get() helper from Getting started.
- TypeScript
- Python
- curl
const balances = await get("/v1/gateway/balances");
balances = get("/v1/gateway/balances")
curl -s https://api.truemarkets.co/v1/gateway/balances \
-H "Authorization: Bearer $TOKEN"
{
"data": [
{
"symbol": "USDC",
"chain": "solana",
"available": "3.000000",
"total": "3.000000",
"…": "…"
}
]
}
Next: Send funds