Token Support and Discovery
Why doesn’t /assets/list
return Solana tokens?
The /assets/list
endpoint currently only returns EVM tokens. For Solana tokens, you need to use specific asset IDs in CAIP-19 format:
We’re working on expanding our aggregated asset list to include more tokens across all chains, including Solana. This will improve asset discovery significantly.
Which Solana tokens are currently supported?
OneBalance supports any Solana token that exists on the network, but currently offers aggregated assets for major tokens: Current Aggregated Assets:- SOL: Native Solana token (
ob:sol
) - USDC: USD Coin on Solana (
ob:usdc
)
- Format:
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/token:TOKEN_ADDRESS
- For SOL:
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/slip44:501
For token metadata (names, symbols, images), we recommend using third-party services, then combining that data with OneBalance for quotes and executions.
API Key Configuration
Why don’t Solana operations work with my custom API key?
Solana support must be explicitly enabled for custom API keys. By default, new API keys only have EVM chain access. Solutions:- Contact support to enable Solana for your API key
- Use the public API key for testing:
42bb629272001ee1163ca0dbbbc07bcbb0ef57a57baf16c4b1d4672db4562c11
The public API key has rate limits and should only be used for testing and development, not production applications.
How do I request Solana access for my API key?
Contact our support team with your API key prefix:- Intercom chat: Use the widget in the bottom right corner
- Email: support@onebalance.io
Asset ID Formats
When should I use aggregated vs specific asset IDs?
Use Aggregated Assets (ob:*
) when:
- You want to spend from combined balances across all chains
- Working with major tokens (USDC, SOL, ETH, etc.)
- Building simplified UX where users don’t care about specific chains
- You need to spend from a specific chain
- Working with tokens not yet aggregated
- Building advanced UX where chain selection matters
How do I find the CAIP-19 asset ID for a Solana token?
Format:solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/token:TOKEN_MINT_ADDRESS
For SOL (native token): solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/slip44:501
For SPL tokens:
- Find the token mint address (from Solana Explorer, Jupiter, etc.)
- Use format:
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/token:MINT_ADDRESS
- USDC:
...token:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
- JUP:
...token:JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN
Cross-Chain Operations
Can I use Solana with EVM accounts in the same operation?
Yes! This is one of OneBalance’s key features. You can use multiple account types in a single transaction:- EVM → Solana: Use EVM tokens to buy Solana assets
- Solana → EVM: Use Solana tokens to buy EVM assets
- Aggregated spending: Use combined balances optimally
Which v3 endpoints do I need for Solana?
Solana requires v3 API endpoints that support multiple accounts:- Get Quote v3 -
POST /api/v3/quote
- Execute Quote v3 -
POST /api/v3/quote/execute
- Aggregated Balance v3 -
GET /api/v3/balances/aggregated-balance
- Transaction History v3 -
GET /api/v3/status/get-transaction-history
- Quote Status v3 -
GET /api/v3/status/get-execution-status
v1 endpoints only support single EVM accounts and cannot be used with Solana.
Integration Issues
My Solana wallet signing isn’t working
Common Issues:- Incorrect data format: Ensure you’re converting base64 data to
MessageV0
- Wrong signature encoding: Use
bs58.encode()
for signatures - Wallet not connected: Check
wallet.connected
before signing
Why am I getting “insufficient balance” errors?
Check these common causes:- Wrong asset ID: Ensure you’re using correct CAIP-19 format
- No SOL for gas: Fund account with ~0.005 SOL
- API key not enabled: Verify Solana is enabled for your API key
- Decimals mismatch: Check token decimals (SOL = 9, USDC = 6)
Getting Help
Solana Examples
Complete working examples for all Solana operations
Troubleshooting
Common issues and detailed debugging steps
API Reference
Full API documentation with Solana-specific notes
For additional support:
- Intercom chat (bottom right corner) for instant help
- Email: support@onebalance.io
- Join our Discord: Community support and updates