Base URL
All API endpoints are relative to:https://api.voltr.xyz
Authentication
The Ranger Earn API is public and does not require an API key for access.Key Concept: Transaction Building
A critical feature of the Ranger Earn API is its approach to transaction creation. Instead of executing transactions on the server, the API builds and returns an unsigned, serialized versioned transaction as a base58 encoded string. This design ensures that user private keys are never required on the backend, maintaining a non-custodial and secure user experience.Typical Workflow
Request
Your application sends a
POST request to a transaction creation endpoint (e.g., /vault/{pubkey}/deposit).Interactive Documentation
For live testing and a detailed, interactive view of all endpoints, visit the Swagger documentation:Swagger API Docs
Interactive API documentation with live testing