0xKYC Documentation
  • ☀️Welcome to 0xKYC Documentation
  • Overview
    • 💡What we do
    • ✨Our Products
  • DEVELOPER GUIDES
    • 📍Start Here
    • 🧙Client or Server Guide
      • Sunscreen - Uniquness Verification
        • Define ABI
        • Get Unique Identifier of an Address
        • Working with the UUID
      • 0xKYC - Sanctions/ AML
        • Contract Addresses
        • Define ABI
        • Checking for SBT
        • Token-gate on the Front-end
    • ⛓️Blockchain Guide
      • Smart Contract
      • On Chain Verification
      • No Code (Etherscan)
    • 🤖Public APIs
Powered by GitBook
On this page
  1. DEVELOPER GUIDES
  2. Client or Server Guide
  3. 0xKYC - Sanctions/ AML

Checking for SBT

PreviousDefine ABINextToken-gate on the Front-end

Last updated 1 year ago

The SBT (Soul Bound Token) will be minted if a user has gone through and scanned their ID document with the 0xKYC app.

If you want to check if a user has gone through and is verified by 0xKYC, call the method .hasSoul() to check a wallet for soulbound token:

const soulbound = new web3.eth.Contract(abi, soulboundContractAddress);
const hasSoul = await soulbound.methods.hasSoul(walletAddress).call();

Or call our "GET /api/v1/hasSoul" API directly :

🧙
here
🤖Public APIs