Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/api/mod.ts>ApiPromise

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

@polkadot/api/promise

Overview

Constructors

new
ApiPromise(options?: ApiOptions)

Properties

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

Methods

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

Static Methods

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