Request a quote for transferring or swapping assets with support for multiple account types including Solana and EVM accounts.
This endpoint extends the v1 quote functionality by:
Account Requirements:
The OneBalance API uses API keys to authenticate requests. All API requests require authentication using an API key passed in the x-api-key
header:
curl -X 'GET' \
'https://be.onebalance.io/api/path-to/endpoint' \
-H 'x-api-key: ${ONEBALANCE_API_KEY}' \
...
A public API key is available for testing purposes with limited usage: 42bb629272001ee1163ca0dbbbc07bcbb0ef57a57baf16c4b1d4672db4562c11
.
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.
Learn how to generate API access tokens at OneBalance Docs.
Quote request with support for multiple account types (v3)
Quote generated successfully
Quote response with support for multiple blockchain types (v3)