curl --request POST \
--url https://app.blockgence.com/v1/evidence \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"address": "<string>",
"chain": "ethereum",
"hops": 3,
"include_tokens": false,
"fanout": 6,
"back_hops": 2,
"temporal": true,
"since": 0,
"win_start": 0,
"win_end": 0,
"min_usd": 1,
"read_more": 0,
"until": 0,
"forward": true,
"order_by": "value_usd",
"order_dir": "desc",
"follow_bridges": true,
"follow_swaps": true,
"bridge_depth": 1,
"follow_demix": true,
"detect_behavioral": true,
"check_goplus": true,
"goplus_top_n": 40,
"follow_funding": true,
"funding_top_n": 40,
"detect_attack_stages": false,
"exploit_tx": "<string>",
"include_demix": true,
"fresh": false
}
'import requests
url = "https://app.blockgence.com/v1/evidence"
payload = {
"address": "<string>",
"chain": "ethereum",
"hops": 3,
"include_tokens": False,
"fanout": 6,
"back_hops": 2,
"temporal": True,
"since": 0,
"win_start": 0,
"win_end": 0,
"min_usd": 1,
"read_more": 0,
"until": 0,
"forward": True,
"order_by": "value_usd",
"order_dir": "desc",
"follow_bridges": True,
"follow_swaps": True,
"bridge_depth": 1,
"follow_demix": True,
"detect_behavioral": True,
"check_goplus": True,
"goplus_top_n": 40,
"follow_funding": True,
"funding_top_n": 40,
"detect_attack_stages": False,
"exploit_tx": "<string>",
"include_demix": True,
"fresh": False
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
address: '<string>',
chain: 'ethereum',
hops: 3,
include_tokens: false,
fanout: 6,
back_hops: 2,
temporal: true,
since: 0,
win_start: 0,
win_end: 0,
min_usd: 1,
read_more: 0,
until: 0,
forward: true,
order_by: 'value_usd',
order_dir: 'desc',
follow_bridges: true,
follow_swaps: true,
bridge_depth: 1,
follow_demix: true,
detect_behavioral: true,
check_goplus: true,
goplus_top_n: 40,
follow_funding: true,
funding_top_n: 40,
detect_attack_stages: false,
exploit_tx: '<string>',
include_demix: true,
fresh: false
})
};
fetch('https://app.blockgence.com/v1/evidence', 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/evidence",
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([
'address' => '<string>',
'chain' => 'ethereum',
'hops' => 3,
'include_tokens' => false,
'fanout' => 6,
'back_hops' => 2,
'temporal' => true,
'since' => 0,
'win_start' => 0,
'win_end' => 0,
'min_usd' => 1,
'read_more' => 0,
'until' => 0,
'forward' => true,
'order_by' => 'value_usd',
'order_dir' => 'desc',
'follow_bridges' => true,
'follow_swaps' => true,
'bridge_depth' => 1,
'follow_demix' => true,
'detect_behavioral' => true,
'check_goplus' => true,
'goplus_top_n' => 40,
'follow_funding' => true,
'funding_top_n' => 40,
'detect_attack_stages' => false,
'exploit_tx' => '<string>',
'include_demix' => true,
'fresh' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.blockgence.com/v1/evidence"
payload := strings.NewReader("{\n \"address\": \"<string>\",\n \"chain\": \"ethereum\",\n \"hops\": 3,\n \"include_tokens\": false,\n \"fanout\": 6,\n \"back_hops\": 2,\n \"temporal\": true,\n \"since\": 0,\n \"win_start\": 0,\n \"win_end\": 0,\n \"min_usd\": 1,\n \"read_more\": 0,\n \"until\": 0,\n \"forward\": true,\n \"order_by\": \"value_usd\",\n \"order_dir\": \"desc\",\n \"follow_bridges\": true,\n \"follow_swaps\": true,\n \"bridge_depth\": 1,\n \"follow_demix\": true,\n \"detect_behavioral\": true,\n \"check_goplus\": true,\n \"goplus_top_n\": 40,\n \"follow_funding\": true,\n \"funding_top_n\": 40,\n \"detect_attack_stages\": false,\n \"exploit_tx\": \"<string>\",\n \"include_demix\": true,\n \"fresh\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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://app.blockgence.com/v1/evidence")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"address\": \"<string>\",\n \"chain\": \"ethereum\",\n \"hops\": 3,\n \"include_tokens\": false,\n \"fanout\": 6,\n \"back_hops\": 2,\n \"temporal\": true,\n \"since\": 0,\n \"win_start\": 0,\n \"win_end\": 0,\n \"min_usd\": 1,\n \"read_more\": 0,\n \"until\": 0,\n \"forward\": true,\n \"order_by\": \"value_usd\",\n \"order_dir\": \"desc\",\n \"follow_bridges\": true,\n \"follow_swaps\": true,\n \"bridge_depth\": 1,\n \"follow_demix\": true,\n \"detect_behavioral\": true,\n \"check_goplus\": true,\n \"goplus_top_n\": 40,\n \"follow_funding\": true,\n \"funding_top_n\": 40,\n \"detect_attack_stages\": false,\n \"exploit_tx\": \"<string>\",\n \"include_demix\": true,\n \"fresh\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.blockgence.com/v1/evidence")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"address\": \"<string>\",\n \"chain\": \"ethereum\",\n \"hops\": 3,\n \"include_tokens\": false,\n \"fanout\": 6,\n \"back_hops\": 2,\n \"temporal\": true,\n \"since\": 0,\n \"win_start\": 0,\n \"win_end\": 0,\n \"min_usd\": 1,\n \"read_more\": 0,\n \"until\": 0,\n \"forward\": true,\n \"order_by\": \"value_usd\",\n \"order_dir\": \"desc\",\n \"follow_bridges\": true,\n \"follow_swaps\": true,\n \"bridge_depth\": 1,\n \"follow_demix\": true,\n \"detect_behavioral\": true,\n \"check_goplus\": true,\n \"goplus_top_n\": 40,\n \"follow_funding\": true,\n \"funding_top_n\": 40,\n \"detect_attack_stages\": false,\n \"exploit_tx\": \"<string>\",\n \"include_demix\": true,\n \"fresh\": false\n}"
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>"
}{
"error": "source_unavailable",
"detail": "<string>",
"source": "<string>",
"reason": "<string>",
"retryable": true,
"chain": "<string>",
"primitive": "<string>",
"operation": "<string>",
"target": "<string>",
"http_status": 123,
"retry_after": 123,
"upstream_message": "<string>",
"source_fault": true,
"failure_cause": "<string>"
}Export de evidencia: metodología, límites, custodia y hash de integridad
Corre el rastreo y devuelve el paquete de evidencia sellado y verificable.
A diferencia de /report (resumen para el analista), esto es un documento pensado
para salir del sistema: declara la metodología que se usó y sus límites conocidos,
de dónde salió cada dato, la frontera entre lo determinístico y lo probabilístico, y
un hash que permite comprobar después que nadie lo tocó.
Si la llamada trae X-Case-Id, se adjunta la cadena de custodia de ese caso. Para
exportar la evidencia de un rastreo YA guardado —lo habitual, porque preserva lo que
el analista vio— usá GET /cases/{token}/evidence.
Fallas de fuente: si la raíz del rastreo falla, 503 (nunca un paquete sellado sobre un
rastreo que no se pudo hacer). Si falla el demix del sujeto, el paquete sale igual y lo
declara (stage evidence.demix); sus fallas parciales (gas, pools) también se suman a la
cobertura del documento.
Costo: 30 créditos de base (solo si la respuesta es < 400; algunas rutas cobran menos si reusan un resultado guardado).
curl --request POST \
--url https://app.blockgence.com/v1/evidence \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"address": "<string>",
"chain": "ethereum",
"hops": 3,
"include_tokens": false,
"fanout": 6,
"back_hops": 2,
"temporal": true,
"since": 0,
"win_start": 0,
"win_end": 0,
"min_usd": 1,
"read_more": 0,
"until": 0,
"forward": true,
"order_by": "value_usd",
"order_dir": "desc",
"follow_bridges": true,
"follow_swaps": true,
"bridge_depth": 1,
"follow_demix": true,
"detect_behavioral": true,
"check_goplus": true,
"goplus_top_n": 40,
"follow_funding": true,
"funding_top_n": 40,
"detect_attack_stages": false,
"exploit_tx": "<string>",
"include_demix": true,
"fresh": false
}
'import requests
url = "https://app.blockgence.com/v1/evidence"
payload = {
"address": "<string>",
"chain": "ethereum",
"hops": 3,
"include_tokens": False,
"fanout": 6,
"back_hops": 2,
"temporal": True,
"since": 0,
"win_start": 0,
"win_end": 0,
"min_usd": 1,
"read_more": 0,
"until": 0,
"forward": True,
"order_by": "value_usd",
"order_dir": "desc",
"follow_bridges": True,
"follow_swaps": True,
"bridge_depth": 1,
"follow_demix": True,
"detect_behavioral": True,
"check_goplus": True,
"goplus_top_n": 40,
"follow_funding": True,
"funding_top_n": 40,
"detect_attack_stages": False,
"exploit_tx": "<string>",
"include_demix": True,
"fresh": False
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
address: '<string>',
chain: 'ethereum',
hops: 3,
include_tokens: false,
fanout: 6,
back_hops: 2,
temporal: true,
since: 0,
win_start: 0,
win_end: 0,
min_usd: 1,
read_more: 0,
until: 0,
forward: true,
order_by: 'value_usd',
order_dir: 'desc',
follow_bridges: true,
follow_swaps: true,
bridge_depth: 1,
follow_demix: true,
detect_behavioral: true,
check_goplus: true,
goplus_top_n: 40,
follow_funding: true,
funding_top_n: 40,
detect_attack_stages: false,
exploit_tx: '<string>',
include_demix: true,
fresh: false
})
};
fetch('https://app.blockgence.com/v1/evidence', 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/evidence",
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([
'address' => '<string>',
'chain' => 'ethereum',
'hops' => 3,
'include_tokens' => false,
'fanout' => 6,
'back_hops' => 2,
'temporal' => true,
'since' => 0,
'win_start' => 0,
'win_end' => 0,
'min_usd' => 1,
'read_more' => 0,
'until' => 0,
'forward' => true,
'order_by' => 'value_usd',
'order_dir' => 'desc',
'follow_bridges' => true,
'follow_swaps' => true,
'bridge_depth' => 1,
'follow_demix' => true,
'detect_behavioral' => true,
'check_goplus' => true,
'goplus_top_n' => 40,
'follow_funding' => true,
'funding_top_n' => 40,
'detect_attack_stages' => false,
'exploit_tx' => '<string>',
'include_demix' => true,
'fresh' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.blockgence.com/v1/evidence"
payload := strings.NewReader("{\n \"address\": \"<string>\",\n \"chain\": \"ethereum\",\n \"hops\": 3,\n \"include_tokens\": false,\n \"fanout\": 6,\n \"back_hops\": 2,\n \"temporal\": true,\n \"since\": 0,\n \"win_start\": 0,\n \"win_end\": 0,\n \"min_usd\": 1,\n \"read_more\": 0,\n \"until\": 0,\n \"forward\": true,\n \"order_by\": \"value_usd\",\n \"order_dir\": \"desc\",\n \"follow_bridges\": true,\n \"follow_swaps\": true,\n \"bridge_depth\": 1,\n \"follow_demix\": true,\n \"detect_behavioral\": true,\n \"check_goplus\": true,\n \"goplus_top_n\": 40,\n \"follow_funding\": true,\n \"funding_top_n\": 40,\n \"detect_attack_stages\": false,\n \"exploit_tx\": \"<string>\",\n \"include_demix\": true,\n \"fresh\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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://app.blockgence.com/v1/evidence")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"address\": \"<string>\",\n \"chain\": \"ethereum\",\n \"hops\": 3,\n \"include_tokens\": false,\n \"fanout\": 6,\n \"back_hops\": 2,\n \"temporal\": true,\n \"since\": 0,\n \"win_start\": 0,\n \"win_end\": 0,\n \"min_usd\": 1,\n \"read_more\": 0,\n \"until\": 0,\n \"forward\": true,\n \"order_by\": \"value_usd\",\n \"order_dir\": \"desc\",\n \"follow_bridges\": true,\n \"follow_swaps\": true,\n \"bridge_depth\": 1,\n \"follow_demix\": true,\n \"detect_behavioral\": true,\n \"check_goplus\": true,\n \"goplus_top_n\": 40,\n \"follow_funding\": true,\n \"funding_top_n\": 40,\n \"detect_attack_stages\": false,\n \"exploit_tx\": \"<string>\",\n \"include_demix\": true,\n \"fresh\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.blockgence.com/v1/evidence")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"address\": \"<string>\",\n \"chain\": \"ethereum\",\n \"hops\": 3,\n \"include_tokens\": false,\n \"fanout\": 6,\n \"back_hops\": 2,\n \"temporal\": true,\n \"since\": 0,\n \"win_start\": 0,\n \"win_end\": 0,\n \"min_usd\": 1,\n \"read_more\": 0,\n \"until\": 0,\n \"forward\": true,\n \"order_by\": \"value_usd\",\n \"order_dir\": \"desc\",\n \"follow_bridges\": true,\n \"follow_swaps\": true,\n \"bridge_depth\": 1,\n \"follow_demix\": true,\n \"detect_behavioral\": true,\n \"check_goplus\": true,\n \"goplus_top_n\": 40,\n \"follow_funding\": true,\n \"funding_top_n\": 40,\n \"detect_attack_stages\": false,\n \"exploit_tx\": \"<string>\",\n \"include_demix\": true,\n \"fresh\": false\n}"
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>"
}{
"error": "source_unavailable",
"detail": "<string>",
"source": "<string>",
"reason": "<string>",
"retryable": true,
"chain": "<string>",
"primitive": "<string>",
"operation": "<string>",
"target": "<string>",
"http_status": 123,
"retry_after": 123,
"upstream_message": "<string>",
"source_fault": true,
"failure_cause": "<string>"
}Autorizaciones
Encabezados
Caso activo (opcional): el token de un caso que podés ver. La consulta queda en el registro de actividad de ese caso y resuelve también sus labels propias. Un caso que no existe, se borró o ya no está compartido con vos da 400 case_unavailable y la consulta no se hace (sin cobro).
Cuerpo
Rastreo + empaquetado probatorio en una sola llamada.
Respuesta
Successful Response