curl --request GET \
--url https://app.blockgence.com/v1/cases/{token}/report/{kind} \
--header 'X-API-Key: <api-key>'import requests
url = "https://app.blockgence.com/v1/cases/{token}/report/{kind}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://app.blockgence.com/v1/cases/{token}/report/{kind}', 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://app.blockgence.com/v1/cases/{token}/report/{kind}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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://app.blockgence.com/v1/cases/{token}/report/{kind}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.blockgence.com/v1/cases/{token}/report/{kind}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.blockgence.com/v1/cases/{token}/report/{kind}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"detail": "<string>",
"error": "<string>"
}{
"detail": "<string>",
"error": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"detail": "<string>",
"error": "<string>"
}Suspicious activity report draft
Returns a sealed draft suspicious activity report for the case, for the analyst to download and complete. blockgence does not submit anything.
ros: the suspicious transaction report of the Argentine financial intelligence unit (UIF). Its fields cite UIF Resolution 49/2024, Law 25.246 and the UIF instructions.str: a generic report with the goAML structure and FATF Recommendation 20. It is not the official form of any unit.
It is built from the saved snapshot, like the evidence. tx selects the transactions of the reported operation:
start, end and amount come only from them, and only if each one is a simple transfer. Without tx, those fields
are left blank; if a selected transaction is an aggregated edge, a crossing, a swap or moves value in several
rows, they are also left blank and selection.issues states the reason.
What it includes:
sections: the form fields, in the order of the instructions, each withstatusfrom_case(the value comes from the case) orto_complete(left blank) and the regulations that require it. Personal data and the decisions of the reporting entity are always left blank;persons: a blank template per person involved. A label, an ENS name or an entity never becomes a person;amounts(withtx): one line per asset, with the exact amount and the USD value at the date of each transaction. Different assets are not added together and the current price is never used;deadlines(roswithtx): the maximum filing deadline and whether it has passed;operations: one row per transfer of the case edges, in date order, up to 5,000 (operations_truncated);indicators: the case facts that correspond to the indicators of UIF Resolution 49/2024. They are observations and do not qualify the operation;transactions(strwithtx): each transaction with the goAML structure;case, withsnapshot_sha256, the sha256 of the snapshot behind the draft, plusselection,facts,annotations,limitationsandmethodology.
Errors: 400 if a transaction is not in the case, a hash is malformed or format is invalid; 404 if the caller
cannot view the case or kind is unknown; 409 if the case does not have a saved trace yet; 422 if the
snapshot is not a valid graph.
Cost: free.
curl --request GET \
--url https://app.blockgence.com/v1/cases/{token}/report/{kind} \
--header 'X-API-Key: <api-key>'import requests
url = "https://app.blockgence.com/v1/cases/{token}/report/{kind}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://app.blockgence.com/v1/cases/{token}/report/{kind}', 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://app.blockgence.com/v1/cases/{token}/report/{kind}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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://app.blockgence.com/v1/cases/{token}/report/{kind}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.blockgence.com/v1/cases/{token}/report/{kind}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.blockgence.com/v1/cases/{token}/report/{kind}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"detail": "<string>",
"error": "<string>"
}{
"detail": "<string>",
"error": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"detail": "<string>",
"error": "<string>"
}Authorizations
Headers
Path Parameters
Query Parameters
Response
The sealed draft in JSON or, with format=md, the document in Markdown (text/markdown) as a file.