Get all vaults
curl --request GET \
--url https://points.mellow.finance/v1/vaultsimport requests
url = "https://points.mellow.finance/v1/vaults"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://points.mellow.finance/v1/vaults', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://points.mellow.finance/v1/vaults",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://points.mellow.finance/v1/vaults"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://points.mellow.finance/v1/vaults")
.asString();require 'uri'
require 'net/http'
url = URI("https://points.mellow.finance/v1/vaults")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": "ethereum-dvsteth",
"chain_id": 1,
"address": "0x5E362eb2c0706Bd1d134689eC75176018385430B",
"symbol": "DVstETH",
"decimals": 18,
"name": "Decentralized Validator Vault",
"layer": "lido_simple_dvt",
"points": [
{
"id": "mellow",
"value": "17049600.467"
}
],
"base_token": {
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"symbol": "WETH",
"decimals": 18
},
"underlying_tokens": [
{
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"symbol": "WETH",
"decimals": 18
}
],
"deposit_tokens": [
{
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"symbol": "WETH",
"decimals": 18
}
],
"withdraw_tokens": [
{
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"symbol": "WETH",
"decimals": 18
}
],
"withdraw_avg_time_seconds": 345600,
"collector": "0x240Fbe0790D5B25366BF88EE14AE8Dde72BfE312",
"price": 3519.90723976,
"apr": 2.886142857142857,
"tvl_usd": 24991702.73953098,
"tvl_base_token": "7177311992681062422621",
"limit_usd": 48398724.54674784,
"limit_base_token": "13899522963290482556503",
"total_supply": "7100102655321765400668"
}
]API Reference
Get all vaults
Retrieves comprehensive information about all available vaults in the Mellow Protocol ecosystem. Each vault represents a smart contract that manages liquidity across different DeFi protocols. The response includes vault configurations, associated tokens, current performance metrics, and operational parameters.
GET
/
v1
/
vaults
Get all vaults
curl --request GET \
--url https://points.mellow.finance/v1/vaultsimport requests
url = "https://points.mellow.finance/v1/vaults"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://points.mellow.finance/v1/vaults', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://points.mellow.finance/v1/vaults",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://points.mellow.finance/v1/vaults"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://points.mellow.finance/v1/vaults")
.asString();require 'uri'
require 'net/http'
url = URI("https://points.mellow.finance/v1/vaults")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": "ethereum-dvsteth",
"chain_id": 1,
"address": "0x5E362eb2c0706Bd1d134689eC75176018385430B",
"symbol": "DVstETH",
"decimals": 18,
"name": "Decentralized Validator Vault",
"layer": "lido_simple_dvt",
"points": [
{
"id": "mellow",
"value": "17049600.467"
}
],
"base_token": {
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"symbol": "WETH",
"decimals": 18
},
"underlying_tokens": [
{
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"symbol": "WETH",
"decimals": 18
}
],
"deposit_tokens": [
{
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"symbol": "WETH",
"decimals": 18
}
],
"withdraw_tokens": [
{
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"symbol": "WETH",
"decimals": 18
}
],
"withdraw_avg_time_seconds": 345600,
"collector": "0x240Fbe0790D5B25366BF88EE14AE8Dde72BfE312",
"price": 3519.90723976,
"apr": 2.886142857142857,
"tvl_usd": 24991702.73953098,
"tvl_base_token": "7177311992681062422621",
"limit_usd": 48398724.54674784,
"limit_base_token": "13899522963290482556503",
"total_supply": "7100102655321765400668"
}
]Response
200 - application/json
Successful response containing an array of all active vaults with their complete details