Module

x/polkadot/api/bundle.ts>ApiPromise

Package publishing for deno.land/x/polkadot
Go to Latest
class ApiPromise
extends ApiBase<"promise">
import { ApiPromise } from "https://dotland.deno.dev/x/polkadot@0.2.38/api/bundle.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>