Yield
Work with yield in the sandbox.
SandboxThis is the simulated Earn API. Position creation and withdrawal change sandbox records; they do not sign a wallet transaction.
Authentication · Errors · Amounts and units
Aggregated yield
GET /yield
Best and allocation-blended APY. Omit asset to aggregate all active vaults.
Parameters
| Name | Location | Type | Required | Description |
| --- | --- | --- | --- | --- |
| asset | query | "USDC", "USDT" | No | Asset to aggregate |
Response · 200
| Field | Type | Required | Description |
|---|---|---|---|
object |
string |
Yes | |
data |
Yield | Yes | |
meta |
object |
No |
For failed requests, inspect error.code, error.message and the request ID. Error handling.
Per-asset yield detail
GET /yield/{asset}
Parameters
| Name | Location | Type | Required | Description |
| --- | --- | --- | --- | --- |
| asset | path | "USDC", "USDT" | Yes | |
Response · 200
| Field | Type | Required | Description |
|---|---|---|---|
object |
string |
Yes | |
data |
Yield | Yes | |
meta |
object |
No |
For failed requests, inspect error.code, error.message and the request ID. Error handling.