Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.27/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

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)

Expands Zlib data