Vector de compromiso: cómo salieron los fondos de una víctima (30 créditos)
curl --request POST \
--url https://app.blockgence.com/v1/compromise \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"victim": "<string>",
"chains": [
"<string>"
],
"from_ts": 0,
"to_ts": 0,
"loss_txs": [
{
"chain": "<string>",
"tx": "<string>"
}
]
}
'import requests
url = "https://app.blockgence.com/v1/compromise"
payload = {
"victim": "<string>",
"chains": ["<string>"],
"from_ts": 0,
"to_ts": 0,
"loss_txs": [
{
"chain": "<string>",
"tx": "<string>"
}
]
}
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({
victim: '<string>',
chains: ['<string>'],
from_ts: 0,
to_ts: 0,
loss_txs: [{chain: '<string>', tx: '<string>'}]
})
};
fetch('https://app.blockgence.com/v1/compromise', 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/compromise",
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([
'victim' => '<string>',
'chains' => [
'<string>'
],
'from_ts' => 0,
'to_ts' => 0,
'loss_txs' => [
[
'chain' => '<string>',
'tx' => '<string>'
]
]
]),
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/compromise"
payload := strings.NewReader("{\n \"victim\": \"<string>\",\n \"chains\": [\n \"<string>\"\n ],\n \"from_ts\": 0,\n \"to_ts\": 0,\n \"loss_txs\": [\n {\n \"chain\": \"<string>\",\n \"tx\": \"<string>\"\n }\n ]\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/compromise")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"victim\": \"<string>\",\n \"chains\": [\n \"<string>\"\n ],\n \"from_ts\": 0,\n \"to_ts\": 0,\n \"loss_txs\": [\n {\n \"chain\": \"<string>\",\n \"tx\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.blockgence.com/v1/compromise")
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 \"victim\": \"<string>\",\n \"chains\": [\n \"<string>\"\n ],\n \"from_ts\": 0,\n \"to_ts\": 0,\n \"loss_txs\": [\n {\n \"chain\": \"<string>\",\n \"tx\": \"<string>\"\n }\n ]\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>"
}Compromise
Vector de compromiso: cómo salieron los fondos de una víctima (30 créditos)
El veredicto de vector de compromiso: primary_vector, la evidencia por tx (per_tx con rule_hits), los
vectores descartados con su motivo, las alternativas no excluidas y los límites de lo que no se pudo ver. Describe
el mecanismo técnico observado, nunca una responsabilidad.
Costo: 30 créditos de base (solo si la respuesta es < 400; algunas rutas cobran menos si reusan un resultado guardado).
POST
/
v1
/
compromise
Vector de compromiso: cómo salieron los fondos de una víctima (30 créditos)
curl --request POST \
--url https://app.blockgence.com/v1/compromise \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"victim": "<string>",
"chains": [
"<string>"
],
"from_ts": 0,
"to_ts": 0,
"loss_txs": [
{
"chain": "<string>",
"tx": "<string>"
}
]
}
'import requests
url = "https://app.blockgence.com/v1/compromise"
payload = {
"victim": "<string>",
"chains": ["<string>"],
"from_ts": 0,
"to_ts": 0,
"loss_txs": [
{
"chain": "<string>",
"tx": "<string>"
}
]
}
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({
victim: '<string>',
chains: ['<string>'],
from_ts: 0,
to_ts: 0,
loss_txs: [{chain: '<string>', tx: '<string>'}]
})
};
fetch('https://app.blockgence.com/v1/compromise', 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/compromise",
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([
'victim' => '<string>',
'chains' => [
'<string>'
],
'from_ts' => 0,
'to_ts' => 0,
'loss_txs' => [
[
'chain' => '<string>',
'tx' => '<string>'
]
]
]),
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/compromise"
payload := strings.NewReader("{\n \"victim\": \"<string>\",\n \"chains\": [\n \"<string>\"\n ],\n \"from_ts\": 0,\n \"to_ts\": 0,\n \"loss_txs\": [\n {\n \"chain\": \"<string>\",\n \"tx\": \"<string>\"\n }\n ]\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/compromise")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"victim\": \"<string>\",\n \"chains\": [\n \"<string>\"\n ],\n \"from_ts\": 0,\n \"to_ts\": 0,\n \"loss_txs\": [\n {\n \"chain\": \"<string>\",\n \"tx\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.blockgence.com/v1/compromise")
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 \"victim\": \"<string>\",\n \"chains\": [\n \"<string>\"\n ],\n \"from_ts\": 0,\n \"to_ts\": 0,\n \"loss_txs\": [\n {\n \"chain\": \"<string>\",\n \"tx\": \"<string>\"\n }\n ]\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
APIKeyHeaderBearerAuth
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
application/json
Respuesta
Successful Response