method ApiPromise.createimport { ApiPromise } from "https://dotland.deno.dev/x/polkadot@0.2.38/api/mod.ts"; create(options?: ApiOptions): Promise<ApiPromise>Examples import Api from 'https://deno.land/x/polkadot@0.2.38/api/promise/index.ts'; Api.create().then(async (api) => { const timestamp = await api.query.timestamp.now(); console.log(`lastest block timestamp ${timestamp}`); }); Parametersoptionaloptions: ApiOptionsoptions that is passed to the class contructor. Can be either [[ApiOptions]] or a provider (see the constructor arguments) ReturnsPromise<ApiPromise>