x402-payguard / tree / src/examples.js ยท raw (this view has old GitHub links rewritten for the mirror; raw is byte-exact)
// GENERATED by scripts/gen-examples.mjs: real engine outputs on the bundled list (Bazaar / OpenAPI examples).
// SANCTIONED_EXAMPLE is a Lazarus Group address taken from the SDN list itself; CLEAN_EXAMPLE is the USDC contract on Base.
export const SANCTIONED_ADDRESS = '0x098B716B8Aaf21512996dC57EB0615e2383E2f96';
export const CLEAN_ADDRESS = '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913';
export const SANCTIONED_EXAMPLE = {
 "input": "0x098B716B8Aaf21512996dC57EB0615e2383E2f96",
 "address": "0x098b716b8aaf21512996dc57eb0615e2383e2f96",
 "sanctioned": true,
 "match_count": 1,
 "matches": [
  {
   "entity": "LAZARUS GROUP",
   "entity_type": "Entity",
   "sdn_uid": 27307,
   "programs": [
    "DPRK3"
   ],
   "list_date": "2019-09-13",
   "listed_currency": "ETH",
   "listed_as": "Digital Currency Address - ETH"
  }
 ],
 "chain": {
  "format": "evm-hex20",
  "guess": "evm",
  "candidates": [
   "ethereum",
   "base",
   "arbitrum",
   "optimism",
   "polygon",
   "bnb-smart-chain",
   "avalanche-c",
   "ethereum-classic"
  ],
  "checksum": "eip55",
  "checksum_valid": true,
  "checksum_address": "0x098B716B8Aaf21512996dC57EB0615e2383E2f96"
 },
 "source": "US Treasury OFAC Specially Designated Nationals (SDN) list",
 "source_url": "https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/SDN.XML",
 "list_updated_at": "2026-10-21",
 "list_age_days": 0,
 "sdn_address_count": 1050,
 "match_type": "exact (EVM hex and bech32 case-insensitive, base58 exact)",
 "disclaimer": "Informational screening against the public OFAC SDN list (digital currency address identifiers only). Not legal advice. A clear result does not mean an address or its owner is unsanctioned or low-risk; OFAC sanctions also apply to persons and property not listed by address.",
 "engine": "payguard-2026-10-21"
};
export const CLEAN_EXAMPLE = {
 "input": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
 "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
 "sanctioned": false,
 "match_count": 0,
 "matches": [],
 "chain": {
  "format": "evm-hex20",
  "guess": "evm",
  "candidates": [
   "ethereum",
   "base",
   "arbitrum",
   "optimism",
   "polygon",
   "bnb-smart-chain",
   "avalanche-c",
   "ethereum-classic"
  ],
  "checksum": "eip55",
  "checksum_valid": true,
  "checksum_address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
 },
 "source": "US Treasury OFAC Specially Designated Nationals (SDN) list",
 "source_url": "https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/SDN.XML",
 "list_updated_at": "2026-10-21",
 "list_age_days": 0,
 "sdn_address_count": 1050,
 "match_type": "exact (EVM hex and bech32 case-insensitive, base58 exact)",
 "disclaimer": "Informational screening against the public OFAC SDN list (digital currency address identifiers only). Not legal advice. A clear result does not mean an address or its owner is unsanctioned or low-risk; OFAC sanctions also apply to persons and property not listed by address.",
 "engine": "payguard-2026-10-21"
};
export const BATCH_EXAMPLE = {
 "count": 2,
 "sanctioned_count": 1,
 "any_sanctioned": true,
 "results": [
  {
   "input": "0x098B716B8Aaf21512996dC57EB0615e2383E2f96",
   "address": "0x098b716b8aaf21512996dc57eb0615e2383e2f96",
   "sanctioned": true,
   "match_count": 1,
   "matches": [
    {
     "entity": "LAZARUS GROUP",
     "entity_type": "Entity",
     "sdn_uid": 27307,
     "programs": [
      "DPRK3"
     ],
     "list_date": "2019-09-13",
     "listed_currency": "ETH",
     "listed_as": "Digital Currency Address - ETH"
    }
   ],
   "chain": {
    "format": "evm-hex20",
    "guess": "evm",
    "candidates": [
     "ethereum",
     "base",
     "arbitrum",
     "optimism",
     "polygon",
     "bnb-smart-chain",
     "avalanche-c",
     "ethereum-classic"
    ],
    "checksum": "eip55",
    "checksum_valid": true,
    "checksum_address": "0x098B716B8Aaf21512996dC57EB0615e2383E2f96"
   }
  },
  {
   "input": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
   "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
   "sanctioned": false,
   "match_count": 0,
   "matches": [],
   "chain": {
    "format": "evm-hex20",
    "guess": "evm",
    "candidates": [
     "ethereum",
     "base",
     "arbitrum",
     "optimism",
     "polygon",
     "bnb-smart-chain",
     "avalanche-c",
     "ethereum-classic"
    ],
    "checksum": "eip55",
    "checksum_valid": true,
    "checksum_address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
   }
  }
 ],
 "source": "US Treasury OFAC Specially Designated Nationals (SDN) list",
 "source_url": "https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/SDN.XML",
 "list_updated_at": "2026-10-21",
 "list_age_days": 0,
 "sdn_address_count": 1050,
 "disclaimer": "Informational screening against the public OFAC SDN list (digital currency address identifiers only). Not legal advice. A clear result does not mean an address or its owner is unsanctioned or low-risk; OFAC sanctions also apply to persons and property not listed by address.",
 "engine": "payguard-2026-10-21"
};

agentgate-source: code mirror on Cloudflare Pages. All repos