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

Пакетная проверка транзакций

Пакетная проверка транзакций на риск выполняется в виде асинхронной задачи. Для каждой транзакции создается уникальный Task ID, а пользователи могут получить подробные результаты через API задач.

Screen multiple transactions

post

Submit a batch transaction screening task and return task IDs.

Authorizations
API-KeystringRequired
Body
Responses
200

Response. A non-zero code indicates a business error even when the HTTP status is 200.

application/json
codeintegerOptional

The status code of this request. For all possible codes and corresponding errors/messages, see https://docs.compliance.phalcon.blocksec.com/api-documentation/introduction/error-messages.

Example: 0
msgstringOptional

The message of this request. For all possible codes and corresponding errors/messages, see https://docs.compliance.phalcon.blocksec.com/api-documentation/introduction/error-messages.

Example: Success
post/transactions/screen
curl -X POST 'https://api.blocksec.com/phalcon/compliance/v2/transactions/screen' \
  -H 'API-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"transactions":[{"chainId":1,"hash":"0xd4da5a15914ab32e788ce77775ab8e28e9720921658497ebd0db69d3e352d734","direction":"deposit","toAddress":"0xd37bbe5744d730a1d98d8dc97c42f0ca46ad7146"}]}'
{
  "code": 0,
  "msg": "Success",
  "data": {
    "taskIds": [
      "79c9e327-6c03-49e8-bfe7-45faf50574d0"
    ]
  }
}

Последнее обновление