Risk Assessment with Chainalysis KYT API
Risk Assessment with Chainalysis KYT API
POST
http://<enclave-endpoint>/v1/risk-assessment/chainalysis-kyt
Chainalysis KYT (Know Your Transaction) API is used to assess the risk level of virtual asset wallet address or transaction, based on underlying Chainalysis service. It is necessary to complete user verification (POST /verifications) before calling KYT API. The Chainalysis KYT API works differently depending on before or after Transaction Result(Txhash) Report
Before Transaction Result(Txhash) Report:
Originating VASP : Assess the risk level of the Beneficiary’s wallet address.
Beneficiary VASP : Unable to call KYT API and returns
UNSUPPORTED-RISK-ASSESSMENT
error when KYT API is called. Therefore, the Beneficiary VASP cannot use this API before Transaction Result Report.After Transaction Result(Txhash) Report:
Originating VASP : Assess the risk level of withdrawal transaction.
Beneficiary VASP : Assess the risk level of deposit transaction.
Chainalysis KYT API
The Chainalysis KYT API is a paid API that provides 2 types of functionalities:
Withdrawal Attempt Type: Allows VASPs to assess the risk level of the Beneficiary’s deposit address before initiating a withdrawal.
Transfer Type: Allows VASPs to assess the risk level of actual transactions.
The Chainalysis KYT API provides more accurate risk assessment than the Chainalysis Sanction API.
In order to use Chainalysis KYT API, VASPs need to sign up on Chainalysis and purchase a license. Please refer to the following link to request KYT API subscription. Alternatively please approach your point of contact within VerifyVASP for an introduction with Chainalysis team.
After acquiring the Chainalysis KYT API license, VASP can access to KYT API key by signing in KYT Console. After signing in, click the ‘Help’ icon and refer to the ‘Developers’, ‘API Keys’ menu. (Please go to ‘Help’ > ‘Developers’ > ‘API Keys’ after signing in).
The Chainalysis KYT API operates asynchronously. VASP Registers the subject(withdrawal attempt or transfer) for risk assessment with Chainalysis and receives the results for the registered request via Inquiry API. Please refer to the following link for more information on Chainalysis KYT API.
Prerequisites
Following 2 items need to be prepared in advance to use KYT API:
Setting up Enclave Environment Variable
VEGA_CHAINALYSIS_KYT_API_KEY : Enter the API key issued from Chainalysis KYT Console Site.
Creating Enclave Database Table
The history of Chainalysis KYT API calls and the resulting KYT alerts are stored in the enclave database. Therefore, it is necessary to create a separate database table.
For more information on the requirements of the database, please refer to the Chainalysis KYT Results Table and Chainalysis KYT Alerts Table.
Request Body
Virtual assets like USDT can exist on several blockchain networks such as Ethereum, Tron, and EOS, making it difficult to proceed risk assessment without specifying which network the transfer was made.
Therefore, in cases where the network for virtual asset varies like USDT, the
network
property can be used to specify the exact network on which the transaction occurred.For Network type, please refer to Supported networks and assets.
Response Body
Success Cases
The Chainalysis KYT operates asynchronously. Therefore, the results are not returned immediately upon calling the API. The results of the risk assessment using the Chainalysis KYT are delivered through the Callback VASP API. The risk assessment results delivered through Callback VASP API has the following format.
When the risk assessment result is delivered, the
riskAssessment
property is provided, and among them, the risk assessment result using the KYT API is conveyed through thechainalysisKYT
property underriskAssessment
.
chainalysisKYT
structure has the following attributes.
If the risk assessment result using the Chainalysis KYT yields an alertCount of one or more, the KYT alerts are delivered through the
chainalysisKYTAlerts
property underriskAssessment
as mentioned above.The
chainalysisKYTAlerts
property is an array and contains elements equal to the number of alertCount. Each element has the following attributes.
entityCategory
is a category defined by Chainalysis. List of Category can be found on following URL. Logging in to Chainalysis KYT dashboard is required.
Failed Cases
Missing mandatory parameter case
Incorrect API Key
Invalid verificationUuid
API called before Transaction Result Report arrived to the Beneficiary VASP
Incorrect requests
Last updated