/v0/activities
curl --request POST \
--url https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/activities \
--header 'Content-Type: application/json' \
--data '
{
"page_size": 123,
"begin_after_id": "<string>"
}
'import requests
url = "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/activities"
payload = {
"page_size": 123,
"begin_after_id": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({page_size: 123, begin_after_id: '<string>'})
};
fetch('https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/activities', 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/activities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'page_size' => 123,
'begin_after_id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/activities"
payload := strings.NewReader("{\n \"page_size\": 123,\n \"begin_after_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/activities")
.header("Content-Type", "application/json")
.body("{\n \"page_size\": 123,\n \"begin_after_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/activities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"page_size\": 123,\n \"begin_after_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"activities": [
{
"event_id": "<string>",
"date": "2023-11-07T05:31:56Z",
"domain_id": "<string>",
"offset": "<string>",
"round": 123,
"transfer": {
"sender": {
"party": "<string>",
"sender_change_fee": "<string>",
"sender_change_amount": "<string>",
"sender_fee": "<string>",
"holding_fees": "<string>",
"input_amulet_amount": "<string>",
"input_app_reward_amount": "<string>",
"input_validator_reward_amount": "<string>",
"input_sv_reward_amount": "<string>",
"input_validator_faucet_amount": "<string>"
},
"receivers": [
{
"party": "<string>",
"amount": "<string>",
"receiver_fee": "<string>"
}
],
"balance_changes": [
{
"party": "<string>",
"change_to_initial_amount_as_of_round_zero": "<string>",
"change_to_holding_fees_rate": "<string>"
}
],
"description": "<string>",
"transferInstructionReceiver": "<string>",
"transferInstructionAmount": "<string>",
"transferInstructionCid": "<string>"
},
"mint": {
"amulet_owner": "<string>",
"amulet_amount": "<string>"
},
"tap": {
"amulet_owner": "<string>",
"amulet_amount": "<string>"
},
"abort_transfer_instruction": {
"transfer_instruction_cid": "<string>"
}
}
]
}{
"error": "<string>"
}{
"error": "<string>"
}/v0/activities
deprecated
Deprecated. Lists activities in descending order, paged, optionally starting after a provided event id.
POST
/
v0
/
activities
/v0/activities
curl --request POST \
--url https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/activities \
--header 'Content-Type: application/json' \
--data '
{
"page_size": 123,
"begin_after_id": "<string>"
}
'import requests
url = "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/activities"
payload = {
"page_size": 123,
"begin_after_id": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({page_size: 123, begin_after_id: '<string>'})
};
fetch('https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/activities', 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/activities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'page_size' => 123,
'begin_after_id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/activities"
payload := strings.NewReader("{\n \"page_size\": 123,\n \"begin_after_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/activities")
.header("Content-Type", "application/json")
.body("{\n \"page_size\": 123,\n \"begin_after_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/activities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"page_size\": 123,\n \"begin_after_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"activities": [
{
"event_id": "<string>",
"date": "2023-11-07T05:31:56Z",
"domain_id": "<string>",
"offset": "<string>",
"round": 123,
"transfer": {
"sender": {
"party": "<string>",
"sender_change_fee": "<string>",
"sender_change_amount": "<string>",
"sender_fee": "<string>",
"holding_fees": "<string>",
"input_amulet_amount": "<string>",
"input_app_reward_amount": "<string>",
"input_validator_reward_amount": "<string>",
"input_sv_reward_amount": "<string>",
"input_validator_faucet_amount": "<string>"
},
"receivers": [
{
"party": "<string>",
"amount": "<string>",
"receiver_fee": "<string>"
}
],
"balance_changes": [
{
"party": "<string>",
"change_to_initial_amount_as_of_round_zero": "<string>",
"change_to_holding_fees_rate": "<string>"
}
],
"description": "<string>",
"transferInstructionReceiver": "<string>",
"transferInstructionAmount": "<string>",
"transferInstructionCid": "<string>"
},
"mint": {
"amulet_owner": "<string>",
"amulet_amount": "<string>"
},
"tap": {
"amulet_owner": "<string>",
"amulet_amount": "<string>"
},
"abort_transfer_instruction": {
"transfer_instruction_cid": "<string>"
}
}
]
}{
"error": "<string>"
}{
"error": "<string>"
}Body
application/json
Response
ok
Show child attributes
Show child attributes
⌘I