<a href="https://qaif.io/?ref=YOUR-SITE" target="_blank" rel="noopener"
style="display:inline-block;background:#0b1424;color:#fff;padding:10px 16px;border-radius:10px;text-decoration:none;font-weight:600">
Scammed? Trace it with Qaif
</a>
2.
<!-- 1. once, before </body> -->
<script src="https://qaif.io/embed.js" data-ref="YOUR-SITE" defer></script>
<!-- 2. anywhere: an empty element becomes the Qaif button -->
<button data-qaif></button>
<!-- or your own design -->
<a href="#" data-qaif>Report a scam</a>
// JavaScript: open Qaif in a pop-up from your own code (needs embed.js)
Qaif.open({ tx: "0x...", lang: "ar" });
// React Native / Flutter / Swift / Kotlin: open the deep link in the browser
Linking.openURL(`https://qaif.io/?tx=${hash}&ref=your-wallet`);
5.
·
·
curl https://qaif.io/v1/address/TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t# with your free key (higher limits)
curl -H "X-Qaif-Key: YOUR_KEY" https://qaif.io/v1/address/0x...
// works in the browser and in Node 18+
const r = await fetch("https://qaif.io/v1/address/" + address);
const q = await r.json();
if (q.attention === "high") {
showWarning(q.message.en); // or q.message.ar
}
// please show the attribution link next to the result:// <a href={q.attribution.url}>{q.attribution.text}</a>
<!-- once, before </body> -->
<script src="https://qaif.io/embed.js" data-ref="YOUR-SITE" defer></script>
<!-- add data-qaif-check to any address field -->
<input name="to" data-qaif-check>