Interacting with OneBalance API
x-api-key
header:
429 Too Many Requests
response. To handle rate limits effectively, monitor the rate limit headers in your API responses:
2xx
- Success4xx
- Client error (like invalid parameters)5xx
- Server errormessage
field for details on how to resolve the issue, and include the id
when using the Intercom chat widget or contacting support.
See the Errors documentation for more information.
limit
parameter to control the number of items per pagecontinuation
token from the response to fetch the next pageds:usdc
represents USDC across all supported networks.
Key endpoints for working with aggregated assets:
POST /api/v3/quote
POST /api/v3/quote/execute
GET /api/v3/balances/aggregated-balance
dataToSign
MessageV0
using @solana/web3.js
VersionedTransaction