Skip to content
Documentation/canton-network-docs/Splice APIsScan APIsScan APIView on canton-network-docs
canton-network-docs/Splice APIsScan APIsScan API

GET /v0/internal/reward-accounting-process/rounds/:round_number/activity

GET
/
v0
/
internal
/
reward-accounting-process
/
rounds
/
{round_number}
/
activity-totals
Try it
GET /v0/internal/reward-accounting-process/rounds/:round_number/activity-totals

cURL

curl --request GET \
  --url https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/internal/reward-accounting-process/rounds/{round_number}/activity-totals
import requests

url = "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/internal/reward-accounting-process/rounds/{round_number}/activity-totals"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/internal/reward-accounting-process/rounds/{round_number}/activity-totals', 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://scan.sv-1.global.canton.network.sync.global/api/scan/v0/internal/reward-accounting-process/rounds/{round_number}/activity-totals",
  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://scan.sv-1.global.canton.network.sync.global/api/scan/v0/internal/reward-accounting-process/rounds/{round_number}/activity-totals"

	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://scan.sv-1.global.canton.network.sync.global/api/scan/v0/internal/reward-accounting-process/rounds/{round_number}/activity-totals")
  .asString();
require 'uri'
require 'net/http'

url = URI("https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/internal/reward-accounting-process/rounds/{round_number}/activity-totals")

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
200
{
  "status": "<string>",
  "round_number": 123,
  "total_app_activity_weight": 123,
  "active_parties_count": 123,
  "activity_records_count": 123,
  "total_app_reward_minting_allowance": "<string>",
  "total_app_reward_thresholded": "<string>",
  "total_app_reward_unclaimed": "<string>",
  "rewarded_app_provider_parties_count": 123
}

Path Parameters

round_number
integer<int64>
required

Response

200 - application/json

ok

  • Option 1
  • Option 2
  • Option 3
status
string
required
round_number
integer<int64>
required
total_app_activity_weight
integer<int64>
required
active_parties_count
integer<int64>
required
activity_records_count
integer<int64>
required
total_app_reward_minting_allowance
string
required

The total of all minting allowances granted to app providers in this round.

total_app_reward_thresholded
string
required

Total amount of minting allowances that fell below the configured app reward threshold and was thus burned.

total_app_reward_unclaimed
string
required

Total amount of app rewards which could not be attributed to app providers in this round because of limit on app rewards per activity (aka the app rewards cap).

rewarded_app_provider_parties_count
integer<int64>
required