REST API
This document provides a technical overview of the Noderr Protocol's REST API, a standardized interface for applications that require conventional, stateless interactions with the protocol.
Base URL
All REST API endpoints are accessible via the following base URL:
https://api.noderr.xyz/rest
Authentication
All requests to the REST API must be authenticated using a Bearer token. The token should be included in the Authorization header of each request:
Authorization: Bearer YOUR_API_KEY
Common Endpoints
The following is a selection of the most commonly used endpoints. For a complete list of endpoints and their parameters, please refer to our interactive API documentation.
Get All Vaults
- Endpoint:
GET /vaults - Description: Retrieves a list of all available yield vaults.
- Example Response:
[
{
"id": "0x...",
"name": "Low Risk",
"apy": 0.05,
"totalValueLocked": 1000000
}
]
Get Vault by ID
- Endpoint:
GET /vaults/{id} - Description: Retrieves detailed information for a specific yield vault.
- Example Response:
{
"id": "0x...",
"name": "Low Risk",
"apy": 0.05,
"totalValueLocked": 1000000
}