cURL
curl --request GET \
--url https://rs-indexer.api.herodotus.cloud/remappers/binsearch-pathimport requests
url = "https://rs-indexer.api.herodotus.cloud/remappers/binsearch-path"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://rs-indexer.api.herodotus.cloud/remappers/binsearch-path', 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://rs-indexer.api.herodotus.cloud/remappers/binsearch-path",
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://rs-indexer.api.herodotus.cloud/remappers/binsearch-path"
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://rs-indexer.api.herodotus.cloud/remappers/binsearch-path")
.asString();require 'uri'
require 'net/http'
url = URI("https://rs-indexer.api.herodotus.cloud/remappers/binsearch-path")
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{
"path": [
{
"block_number": 123,
"element_index": 123,
"post_append_remapper_size": 123,
"timestamp": 123
}
],
"proofs": [
{
"element_hash": "<string>",
"element_index": 123,
"elements_count": 123,
"peaks_hashes": [
"<string>"
],
"siblings_hashes": [
"<string>"
]
}
],
"remapper": {
"address": "<string>",
"deployed_on_chain": "<string>",
"onchain_remapper_id": "<string>",
"remaps_chain": "<string>"
}
}{
"message": "<string>"
}{
"message": "<string>"
}remappers
Get remappersbinsearch path
GET
/
remappers
/
binsearch-path
cURL
curl --request GET \
--url https://rs-indexer.api.herodotus.cloud/remappers/binsearch-pathimport requests
url = "https://rs-indexer.api.herodotus.cloud/remappers/binsearch-path"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://rs-indexer.api.herodotus.cloud/remappers/binsearch-path', 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://rs-indexer.api.herodotus.cloud/remappers/binsearch-path",
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://rs-indexer.api.herodotus.cloud/remappers/binsearch-path"
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://rs-indexer.api.herodotus.cloud/remappers/binsearch-path")
.asString();require 'uri'
require 'net/http'
url = URI("https://rs-indexer.api.herodotus.cloud/remappers/binsearch-path")
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{
"path": [
{
"block_number": 123,
"element_index": 123,
"post_append_remapper_size": 123,
"timestamp": 123
}
],
"proofs": [
{
"element_hash": "<string>",
"element_index": 123,
"elements_count": 123,
"peaks_hashes": [
"<string>"
],
"siblings_hashes": [
"<string>"
]
}
],
"remapper": {
"address": "<string>",
"deployed_on_chain": "<string>",
"onchain_remapper_id": "<string>",
"remaps_chain": "<string>"
}
}{
"message": "<string>"
}{
"message": "<string>"
}Query Parameters
Available options:
1, 11155111, 137, 280, MADARA_PRAGMA, STARKNET, SN_SEPOLIA, 300, 11155420, 421614, 4801, 84532, UNKNOWN Available options:
1, 11155111, 137, 280, MADARA_PRAGMA, STARKNET, SN_SEPOLIA, 300, 11155420, 421614, 4801, 84532, UNKNOWN Was this page helpful?
⌘I

