Module

x/polkadot/mod.ts>api.ApiPromise

Package publishing for deno.land/x/polkadot
Go to Latest
class api.ApiPromise
extends ApiBase<"promise">
import { api } from "https://dotland.deno.dev/x/polkadot@0.2.35/mod.ts";
const { ApiPromise } = api;

@polkadot/api/promise

Overview

Constructors

new
ApiPromise(options?: ApiOptions)

Properties

readonly
isReady: Promise<ApiPromise>
readonly
isReadyOrError: Promise<ApiPromise>

Methods

clone(): ApiPromise
combineLatest<T extends any[] = any[]>(fns: (CombinatorFunction | [CombinatorFunction, ...any[]])[], callback: CombinatorCallback<T>): UnsubscribePromise

Static Methods

create(options?: ApiOptions): Promise<ApiPromise>