Screen Ethereum counterparties before executing transactions.
const { Web3 } = require('web3');
const web3 = new Web3('https://mainnet.infura.io/v3/YOUR_KEY');
async function safeTransfer(from, to, amount) {
// Screen both addresses
const [fromScreen, toScreen] = await Promise.all([
fetch(`https://sanctionsai.dev/sanctions?wallet=${from}`).then(r => r.json()),
fetch(`https://sanctionsai.dev/sanctions?wallet=${to}`).then(r => r.json())
]);
if (fromScreen.blocked || toScreen.blocked) {
throw new Error("Sanctions match detected");
}
// Execute transfer
return await web3.eth.sendTransaction({ from, to, value: amount });
}
Check any wallet, name, or entity against OFAC, EU, UN sanctions lists in real time.
Free wallet checker