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

x/polkadot/api/index.ts>WsProvider#selectEndpointIndex

Package publishing for deno.land/x/polkadot
Go to Latest
method WsProvider.prototype.selectEndpointIndex
import { WsProvider } from "https://deno.land/x/polkadot@0.2.29/api/index.ts";

Parameters

endpoints: string[]

Returns

number