Skip to main content
Module

x/polkadot/mod.ts>phishing.retrieveHostList

Package publishing for deno.land/x/polkadot
Go to 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.40/mod.ts";
const { retrieveHostList } = phishing;

Retrieve allow/deny from our list provider

Parameters

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

Returns

Promise<HostList>