UNPKG

@oap75/api

Version:
4 lines (3 loc) 195 B
import { ApiPromise } from '@polkadot/api'; /** Get the current open connection to Substrate node. */ export declare const getSubstrateApi: (nodeUrl?: string | undefined) => Promise<ApiPromise>;