For the complete documentation index, see llms.txt. This page is also available as Markdown.

筛查单笔交易

使用所有已激活的风险引擎筛查单笔转账并返回筛查结果。如果筛查时间超过 10 秒,则会创建异步任务并返回 Task ID。

筛查单笔交易

post

筛查单笔交易,同步或异步取决于你的账户配置。同步调用直接返回筛查结果;异步调用返回 taskId,需通过 GET /transactions/screen/tasks/{task_id} 轮询获取。可使用 transferIndex 和/或 toAddress 定位交易中的特定 transfer。

授权
API-Keystring必填
请求体
chainIdinteger必填

链 ID。关于所有支持的链及对应 chain ID,请查看:https://docs.compliance.phalcon.blocksec.com/api-documentation/introduction/supported-chains。

Example: 1
hashstring必填

交易哈希。

Example: 0xd4da5a15914ab32e788ce77775ab8e28e9720921658497ebd0db69d3e352d734
directionstring · enum必填

交易方向。

Example: deposit可能的值:
toAddressstring必填

用户的入金地址(用于入金)或出金地址(用于出金)。

Example: 1.2073566253336472e+48
transferIndexinteger可选

该转账在交易中的索引。可选;当 direction 和 toAddress 不能唯一定位某笔转账时,用于指定具体转账。对于 BTC 交易,该字段表示 toAddressIndex。若省略且匹配到多笔转账,则使用第一笔。

Example: 0
includeDetailsboolean可选已弃用

已废弃。是否在每条告警中包含旧版 riskDetail 字段。默认为 false。

Example: false
响应
200

响应。即使 HTTP 状态码为 200,code 非 0 也表示业务错误。

application/json
codeinteger可选

该请求的状态码。关于所有可能出现的 code 和 message,请查看:https://docs.compliance.phalcon.blocksec.com/api-documentation/introduction/error-messages。

Example: 0
msgstring可选

该请求的 message。关于所有可能出现的 code 和 message,请查看:https://docs.compliance.phalcon.blocksec.com/api-documentation/introduction/error-messages。

Example: Success
dataone of可选
或
post/transaction/screen
cURL
curl -X POST 'https://api.blocksec.com/phalcon/compliance/v2/transaction/screen' \
  -H 'API-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"chainId":1,"hash":"0xd4da5a15914ab32e788ce77775ab8e28e9720921658497ebd0db69d3e352d734","direction":"deposit","toAddress":"0xd37bbe5744d730a1d98d8dc97c42f0ca46ad7146"}'
{
  "code": 0,
  "msg": "Success",
  "data": {
    "taskId": "9db261a3-4f1e-4027-b2f9-fa93f0adfda0",
    "hash": "0xd4da5a15914ab32e788ce77775ab8e28e9720921658497ebd0db69d3e352d734",
    "fromAddress": "0x4d960b26db12b11995b9005491ab1652206d64d5",
    "toAddress": "0xd37bbe5744d730a1d98d8dc97c42f0ca46ad7146",
    "fromAddressInfo": {
      "label": "Lazarus Group: Bybit Exploiter",
      "entity": "LAZARUS GROUP"
    },
    "toAddressInfo": {
      "label": "THORChain: THORChain Router v4.1.1",
      "entity": "Thorchain",
      "category": [
        "DEX"
      ]
    },
    "amount": "99.99982766",
    "token": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
    "tokenSymbol": "ETH",
    "riskLevel": 1,
    "riskLevelDescription": "critical",
    "lastScreenAt": 1786450262,
    "screeningCount": 1,
    "unresolvedAlerts": 3,
    "fromIsBlacklisted": false,
    "fromIsWhitelisted": false,
    "toIsBlacklisted": false,
    "toIsWhitelisted": false,
    "riskProfile": {
      "entityRisks": [
        {
          "type": "riskIndicator",
          "riskLevel": 1,
          "riskLevelDescription": "critical",
          "triggered": true,
          "alertIds": [
            "1a8b7726-c46b-4d8d-a047-9e11690febe3"
          ],
          "riskIndicator": 1,
          "riskIndicatorDescription": "Sanctioned",
          "detail": [
            "OFAC Sanctioned"
          ],
          "address": "0x4d960b26db12b11995b9005491ab1652206d64d5"
        },
        {
          "type": "riskIndicator",
          "riskLevel": 1,
          "riskLevelDescription": "critical",
          "triggered": true,
          "alertIds": [
            "1a8b7726-c46b-4d8d-a047-9e11690febe3"
          ],
          "riskIndicator": 3,
          "riskIndicatorDescription": "Scam",
          "detail": [
            "LAZARUS GROUP"
          ],
          "address": "0x4d960b26db12b11995b9005491ab1652206d64d5"
        },
        {
          "type": "riskIndicator",
          "riskLevel": 1,
          "riskLevelDescription": "critical",
          "triggered": true,
          "alertIds": [
            "1a8b7726-c46b-4d8d-a047-9e11690febe3"
          ],
          "riskIndicator": 2,
          "riskIndicatorDescription": "Attack",
          "detail": [
            "LAZARUS GROUP, Bybit Exploit"
          ],
          "address": "0x4d960b26db12b11995b9005491ab1652206d64d5"
        }
      ],
      "interactionRisks": [
        {
          "indicator": 1,
          "indicatorDescription": "Sanctioned",
          "direction": 1,
          "riskLevel": 1,
          "riskLevelDescription": "critical",
          "direct": {
            "exposureValue": "193294.20475094343",
            "exposurePercent": 1,
            "triggered": true
          },
          "indirect": {
            "exposureValue": "0",
            "exposurePercent": 0,
            "triggered": false
          },
          "total": {
            "exposureValue": "193294.20475094343",
            "exposurePercent": 1
          },
          "minHop": 1,
          "triggered": true,
          "alertIds": [
            "61f20b9a-42cf-4d18-a926-9fcebc721494"
          ]
        },
        {
          "indicator": 3,
          "indicatorDescription": "Scam",
          "direction": 1,
          "riskLevel": 1,
          "riskLevelDescription": "critical",
          "direct": {
            "exposureValue": "193294.20475094343",
            "exposurePercent": 1,
            "triggered": true
          },
          "indirect": {
            "exposureValue": "0",
            "exposurePercent": 0,
            "triggered": false
          },
          "total": {
            "exposureValue": "193294.20475094343",
            "exposurePercent": 1
          },
          "minHop": 1,
          "triggered": true,
          "alertIds": [
            "61f20b9a-42cf-4d18-a926-9fcebc721494"
          ]
        },
        {
          "indicator": 2,
          "indicatorDescription": "Attack",
          "direction": 1,
          "riskLevel": 1,
          "riskLevelDescription": "critical",
          "direct": {
            "exposureValue": "193294.20475094343",
            "exposurePercent": 1,
            "triggered": true
          },
          "indirect": {
            "exposureValue": "0",
            "exposurePercent": 0,
            "triggered": false
          },
          "total": {
            "exposureValue": "193294.20475094343",
            "exposurePercent": 1
          },
          "minHop": 1,
          "triggered": true,
          "alertIds": [
            "61f20b9a-42cf-4d18-a926-9fcebc721494"
          ]
        }
      ],
      "behaviorRisks": [
        {
          "behaviorType": "LargeTransfer",
          "riskLevel": 4,
          "riskLevelDescription": "low",
          "triggered": true,
          "alertIds": [
            "c7a32e03-d7bb-400c-a7a8-566f7b569c66"
          ],
          "fields": {
            "value": "193294.20475094343",
            "amount": "99.99982766"
          }
        }
      ]
    },
    "alerts": [
      {
        "alertId": "1a8b7726-c46b-4d8d-a047-9e11690febe3",
        "status": 1,
        "statusDescription": "unresolved",
        "riskLevel": 1,
        "riskLevelDescription": "critical",
        "description": "Participant address(es) in transaction detected as: Sanctioned, Scam, Attack",
        "firstTriggeredAt": 1786450262,
        "lastUpdatedAt": 1786450262,
        "riskActivityTime": 1742371451,
        "riskEngineId": "ke_b55dde21df6740e8ab97d88005c84df5",
        "riskEngineName": "Transaction Involving Illicit Entities"
      },
      {
        "alertId": "61f20b9a-42cf-4d18-a926-9fcebc721494",
        "status": 1,
        "statusDescription": "unresolved",
        "riskLevel": 1,
        "riskLevelDescription": "critical",
        "description": "Exposed to Attack, Sanctioned, Scam address(es) in incoming transactions",
        "firstTriggeredAt": 1786450262,
        "lastUpdatedAt": 1786450262,
        "riskActivityTime": 1742371451,
        "riskEngineId": "ke_1366c73fe8384d1ebb09692cdbe21d7d",
        "riskEngineName": "Transaction Exposed to Illicit Entities"
      },
      {
        "alertId": "c7a32e03-d7bb-400c-a7a8-566f7b569c66",
        "status": 1,
        "statusDescription": "unresolved",
        "riskLevel": 4,
        "riskLevelDescription": "low",
        "description": "Large transfer of $193,294",
        "firstTriggeredAt": 1786450262,
        "lastUpdatedAt": 1786450262,
        "riskActivityTime": 1742371451,
        "riskEngineId": "ke_ff5ee510c49a4d7cbbdcb36b93bdf828",
        "riskEngineName": "Large Value Transfer Transaction"
      }
    ]
  }
}

最后更新于