Get HyperRAM compound data
curl --request GET \
--url https://gateway.ramses.xyz/v3/hyperevm/hyperram-dataimport requests
url = "https://gateway.ramses.xyz/v3/hyperevm/hyperram-data"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://gateway.ramses.xyz/v3/hyperevm/hyperram-data', 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://gateway.ramses.xyz/v3/hyperevm/hyperram-data",
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://gateway.ramses.xyz/v3/hyperevm/hyperram-data"
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://gateway.ramses.xyz/v3/hyperevm/hyperram-data")
.asString();require 'uri'
require 'net/http'
url = URI("https://gateway.ramses.xyz/v3/hyperevm/hyperram-data")
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{
"epochs": [
{
"period": 123,
"compoundAmount": "<string>",
"rebaseAmount": "<string>",
"newRatio": "<string>",
"oldRatio": "<string>",
"rebaseAPR": 123,
"incentivesAPR": 123,
"totalAPR": 123,
"incentivesWPR": 123,
"rebaseWPR": 123,
"totalWPR": 123
}
],
"total": {
"rebaseAmount": 123,
"compoundAmount": 123,
"totalAmount": 123,
"rollingAPR": 123
}
}HyperRAM
Get HyperRAM compound data
Returns X33 (HyperRAM) compound and rebase data with APR calculations for each epoch. Data is cached for 30 seconds.
GET
/
hyperram-data
Get HyperRAM compound data
curl --request GET \
--url https://gateway.ramses.xyz/v3/hyperevm/hyperram-dataimport requests
url = "https://gateway.ramses.xyz/v3/hyperevm/hyperram-data"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://gateway.ramses.xyz/v3/hyperevm/hyperram-data', 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://gateway.ramses.xyz/v3/hyperevm/hyperram-data",
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://gateway.ramses.xyz/v3/hyperevm/hyperram-data"
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://gateway.ramses.xyz/v3/hyperevm/hyperram-data")
.asString();require 'uri'
require 'net/http'
url = URI("https://gateway.ramses.xyz/v3/hyperevm/hyperram-data")
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{
"epochs": [
{
"period": 123,
"compoundAmount": "<string>",
"rebaseAmount": "<string>",
"newRatio": "<string>",
"oldRatio": "<string>",
"rebaseAPR": 123,
"incentivesAPR": 123,
"totalAPR": 123,
"incentivesWPR": 123,
"rebaseWPR": 123,
"totalWPR": 123
}
],
"total": {
"rebaseAmount": 123,
"compoundAmount": 123,
"totalAmount": 123,
"rollingAPR": 123
}
}⌘I
