Chainalysis oracle for sanctions screening
Use the Chainalysis oracle to screen wallet addresses on-chain
Use the Chainalysis oracle to screen wallet addresses on-chain
The Chainalysis oracle is a smart contract that validates if a cryptocurrency wallet address has been included in a sanctions designation. The smart contract is maintained by Chainalysis on a variety of popular blockchains and will be regularly updated to reflect the latest sanctions designations listed on economic/trade embargo lists from organizations including the US, EU, or UN. The smart contract is available for anyone to use and does not require a customer relationship with Chainalysis.
Sanctioned entities refer to entities listed on economic/trade embargo lists, including but not limited to, sanctions lists imposed by the US, EU, or UN, with which anyone subject to those jurisdictions is prohibited from dealing.
While we will be taking reasonable measures to keep the sanctions oracle up-to-date, Chainalysis cannot guarantee the accuracy, timeliness, suitability, or validity of the data.
You can use the Chainalysis oracle in conjunction with many programming languages. Below we provide an example for Solidity and for JavaScript using the popular web3.js library.
The following code checks whether the address funds are being sent to is on the sanctions list:
The following code checks if an address is on a sanctions list from the web3.js collection of libraries:
The above code prints:
Currently, the Chainalysis oracle is available on the Ethereum network as well as the following EVM-compatible networks (click the links to view the Chainalysis oracle on each network):
Contact [email protected] to provide feedback or ask us any questions.