Skip to main content
Module

x/polkadot/mod.ts

Package publishing for deno.land/x/polkadot
Go to Latest
import * as polkadot from "https://deno.land/x/polkadot@0.2.40/mod.ts";

Classes

@polkadot/api/promise

@polkadot/api/rx

@polkadot/rpc-provider

@polkadot/keyring

@polkadot/rpc-provider/ws

@polkadot/keyring

@polkadot/rpc-provider

@polkadot/rpc-provider/ws

Variables

true if the environment has proper BigInt support

true if the environment has support for Buffer (typically Node.js)

true if the environment is CJS

true if the environment has __dirname available

true if the environment is ESM

true if the environment has process available (typically Node.js)

true if the environment has WebAssembly available

A cross-environment implementation for globalThis

Functions

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.

Checks a host to see if it appears in the provided list

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.

Retrieve a list of known phishing addresses

Retrieve allow/deny from our list provider

Shorthand for distinctUntilChanged(), publishReplay(1) and refCount().

Create an instance of a type with a given params.

Expands the metadata by decoration into consts, query and tx sections

Sort keys/values of BTreeSet/BTreeMap in ascending order for encoding compatibility with Rust's BTreeSet/BTreeMap (https://doc.rust-lang.org/stable/std/collections/struct.BTreeSet.html) (https://doc.rust-lang.org/stable/std/collections/struct.BTreeMap.html)

A sharable identity function. Returns the input as-is with no transformation applied.

A sharable noop function. As the name suggests, does nothing

Expands Zlib data

Expose a value as a known global, if not already defined

Extracts a known global from the environment, applying a fallback if not found