Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/phishing/mod.ts

Package publishing for deno.land/x/polkadot
Latest
import * as polkadot from "https://deno.land/x/polkadot@0.2.45/phishing/mod.ts";

Functions

Determines if a host is in our deny list. Returns a string containing the phishing site if host is a problematic one. Returns null if the address is not associated with phishing.

f
checkHost
deprecated

Checks a host to see if it appears in the provided list

Determines if a host is in our deny list. Returns true if host is a problematic one. Returns false if the host provided is not in our list of less-than-honest sites.

f
retrieveAddrList
deprecated

Retrieve a list of known phishing addresses

f
retrieveHostList
deprecated

Retrieve allow/deny from our list provider