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>"
}Paquete de evidencia sellado de un rastreo
Ejecuta un rastreo y devuelve un documento autocontenido, sellado y verificable, pensado para un peritaje, un expediente o una revisión de un tercero. Declara la metodología usada y sus límites, el origen de cada dato, la frontera entre lo determinístico y lo probabilístico, y un hash que permite comprobar que el documento no se modificó.
Cuerpo del pedido. El mismo que POST /v1/trace, más:
include_demix(por defectotrue): si el rastreo toca un pool de Tornado Cash, adjunta el análisis de demix de la dirección.fresh(por defectofalse): contrue, todas las lecturas se hacen de nuevo en la fuente, sin reutilizar resultados guardados. La respuesta tarda más.
Respuesta. schema (blockgence.evidence/v1) y estas secciones:
manifest: fecha, versión y huella de la metodología, fuente de datos, parámetros, quién lo emitió, qué versión del código lo generó y el bloqueintegrity, con el hash y las firmas.limitations: los límites del método, al frente del documento y antes de las conclusiones.findings: el riesgo con sus razones,basis_split(vínculos determinísticos y probabilísticos),pending,not_coveredyblind_spots.evidence: nodos y flujos completos. Cada flujo traelinkageyconfidence; cada nodo,hidden_out,hidden_inynot_expanded(lo que el rastreo dejó afuera). En esos campos,nullno equivale a 0.methodology: solo las heurísticas que se usaron, cada una con lo que afirma, sus límites y su tasa de error.chain_of_custody: las consultas hechas bajo el caso, si el pedido traeX-Case-Id.
Para exportar la evidencia de un rastreo ya guardado en un caso, use GET /v1/cases/{token}/evidence, que
conserva lo que vio el analista. La integridad se verifica con las rutas /v1/evidence/*, que no requieren
clave de API.
Cobertura. Si no se pueden leer las transferencias de la dirección de partida, la respuesta es
503 source_unavailable, sin cobro: nunca se sella un paquete sobre un rastreo que no se pudo hacer. Si falla
el demix, el paquete se entrega igual y lo declara en degraded_sources.
Costo: 30 créditos de base. Algunas operaciones cobran menos si reutilizan un resultado guardado; nunca más.
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
Cuerpo
Rastreo + empaquetado probatorio en una sola llamada.
Respuesta
Respuesta correcta.