Skip to main content
Module

x/polkadot/phishing/bundle.ts>checkAddress

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

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.

Parameters

address: string | Uint8Array
optional
allowCached = [UNSUPPORTED]

Returns

Promise<string | null>