Skip to main content
Module

x/polkadot/phishing/bundle.ts>checkIfDenied

Package publishing for deno.land/x/polkadot
Go to Latest
function checkIfDenied
import { checkIfDenied } from "https://deno.land/x/polkadot@0.2.25/phishing/bundle.ts";

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.

Parameters

host: string
optional
allowCached = [UNSUPPORTED]

Returns

Promise<boolean>