import { ApiPromise } from "https://dotland.deno.dev/x/polkadot@0.2.38/api/promise/Api.ts";
@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>