Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/polkadot/mod.ts>phishing.retrieveHostList

Package publishing for deno.land/x/polkadot
Latest
function phishing.retrieveHostList
Deprecated
Deprecated

While not due for removal, it is suggested to rather use the checkIfDenied function (which is more optimal overall)

import { phishing } from "https://deno.land/x/polkadot@0.2.45/mod.ts";
const { retrieveHostList } = phishing;

Retrieve allow/deny from our list provider

Parameters

optional
allowCached = [UNSUPPORTED]
optional
root = [UNSUPPORTED]

Returns

Promise<HostList>