Chainalysis oracle for sanctions screening
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.
Defining sanctions data
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.
Using the Chainalysis oracle
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.
Solidity
The following code checks whether the address funds are being sent to is on the sanctions list:
JavaScript
The following code checks if an address is on a sanctions list from the web3.js collection of libraries:
The above code prints:
Compatible networks
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):
- Ethereum: 0x40C57923924B5c5c5455c48D93317139ADDaC8fb
- Polygon: 0x40C57923924B5c5c5455c48D93317139ADDaC8fb
- BNB Smart Chain: 0x40C57923924B5c5c5455c48D93317139ADDaC8fb
- Avalanche: 0x40C57923924B5c5c5455c48D93317139ADDaC8fb
- Optimism: 0x40C57923924B5c5c5455c48D93317139ADDaC8fb
- Arbitrum: 0x40C57923924B5c5c5455c48D93317139ADDaC8fb
- Fantom: 0x40c57923924b5c5c5455c48d93317139addac8fb
- Celo: 0x40C57923924B5c5c5455c48D93317139ADDaC8fb
- Blast: 0x40C57923924B5c5c5455c48D93317139ADDaC8fb
- Base: 0x3A91A31cB3dC49b4db9Ce721F50a9D076c8D739B
Get help
Contact [email protected] to provide feedback or ask us any questions.