Skip to content
CCPEDIAby Unity Nodes
Documentation/Canton Network Docs/Splice APIsScan APIsScan APIView on Canton Network Docs

GET /v0/round-of-latest-data

Scan API

GET /v0/round-of-latest-data

GET/v0/round-of-latest-data

Removed in 0.6.7. Historical definition from 0.6.6.

Deprecated. Get the latest round number for which aggregated data is available and the ledger effective time at which the round was closed.

Protocol Details

Inputs

Outputs

200

application/json
roundinteger (int64)required
effectiveAtstring (date-time)required

404

application/json
errorstringrequired

History

Removed in0.6.7

Last available in 0.6.6. Retained for historical reference.

Deprecated0.5.10
cURL
cURL
curl --request GET \
  --url 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/round-of-latest-data'
Python
Python
import json
import requests

url = "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/round-of-latest-data"
response = requests.request("GET", url)

print(response.text)
JavaScript
JavaScript
const response = await fetch('https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/round-of-latest-data', {
  method: 'GET',
});

console.log(await response.text());
PHP
PHP
<?php
$curl = curl_init();

curl_setopt_array($curl, [
    CURLOPT_URL => 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/round-of-latest-data',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => 'GET',
]);

$response = curl_exec($curl);
echo $response;
Go
Go
package main

import (
  "fmt"
  "io"
  "net/http"
)

func main() {
  req, _ := http.NewRequest("GET", "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/round-of-latest-data", nil)
  response, _ := http.DefaultClient.Do(req)
  defer response.Body.Close()
  body, _ := io.ReadAll(response.Body)
  fmt.Println(string(body))
}
Java
Java
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

var request = HttpRequest.newBuilder()
    .uri(URI.create("https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/round-of-latest-data"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
var response = HttpClient.newHttpClient().send(
    request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
Ruby
Ruby
require 'net/http'
require 'uri'

uri = URI('https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/round-of-latest-data')
request = Net::HTTP::Get.new(uri)
response = Net::HTTP.start(uri.hostname, uri.port) do |http|
  http.request(request)
end
puts response.body
200application/json
200
{
  "round": 123,
  "effectiveAt": "2026-01-01T00:00:00Z"
}
404application/json
404
{
  "error": "<string>"
}