Get indexer status
curl --request GET \
--url https://dev.backend.scan.biya.io/api/v1/statusimport requests
url = "https://dev.backend.scan.biya.io/api/v1/status"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://dev.backend.scan.biya.io/api/v1/status', 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://dev.backend.scan.biya.io/api/v1/status",
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://dev.backend.scan.biya.io/api/v1/status"
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://dev.backend.scan.biya.io/api/v1/status")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.backend.scan.biya.io/api/v1/status")
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{
"chainId": 123,
"signingDomain": "<string>",
"startHeight": 123,
"indexedHeight": 123,
"canonicalIndexedHeight": 123,
"sourceFirstHeight": 123,
"sourceHeight": 123,
"exportedHeight": 123,
"lag": 123,
"partialHistory": true,
"status": "<string>",
"lastError": "<string>",
"exporterUpdatedAt": 123,
"historyGaps": [
{
"startHeight": 123,
"endHeight": 123
}
],
"historyGapsTruncated": true,
"latestPublicationSeq": 123,
"latestExecutionResultsHeight": 123,
"executionResultsCoverageStatus": "starting",
"generatedAt": 123,
"mode": "<string>",
"limitations": [
"<string>"
],
"indexerHealthy": true,
"cacheHealthy": true,
"cacheStatus": "healthy"
}{
"error": "block not found"
}{
"error": "block not found"
}Status
Get indexer status
Returns chain identity, indexed heights, lag, history gaps, and execution
coverage. Runtime fields indexerHealthy, cacheHealthy, and cacheStatus
are process-local. partialHistory is a legacy flag and must not be used
alone to infer missing blocks.
GET
/
api
/
v1
/
status
Get indexer status
curl --request GET \
--url https://dev.backend.scan.biya.io/api/v1/statusimport requests
url = "https://dev.backend.scan.biya.io/api/v1/status"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://dev.backend.scan.biya.io/api/v1/status', 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://dev.backend.scan.biya.io/api/v1/status",
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://dev.backend.scan.biya.io/api/v1/status"
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://dev.backend.scan.biya.io/api/v1/status")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.backend.scan.biya.io/api/v1/status")
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{
"chainId": 123,
"signingDomain": "<string>",
"startHeight": 123,
"indexedHeight": 123,
"canonicalIndexedHeight": 123,
"sourceFirstHeight": 123,
"sourceHeight": 123,
"exportedHeight": 123,
"lag": 123,
"partialHistory": true,
"status": "<string>",
"lastError": "<string>",
"exporterUpdatedAt": 123,
"historyGaps": [
{
"startHeight": 123,
"endHeight": 123
}
],
"historyGapsTruncated": true,
"latestPublicationSeq": 123,
"latestExecutionResultsHeight": 123,
"executionResultsCoverageStatus": "starting",
"generatedAt": 123,
"mode": "<string>",
"limitations": [
"<string>"
],
"indexerHealthy": true,
"cacheHealthy": true,
"cacheStatus": "healthy"
}{
"error": "block not found"
}{
"error": "block not found"
}Response
Status snapshot
Show child attributes
Show child attributes
Available options:
starting, partial, complete Available options:
healthy, degraded