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://dotland.deno.dev/x/polkadot@0.2.35/mod.ts";
const { retrieveHostList } = phishing;

Retrieve allow/deny from our list provider

Parameters

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

Returns

Promise<HostList>