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

x/polkadot/api-derive/accounts/indexes.ts>indexes

Package publishing for deno.land/x/polkadot
Go to Latest
function indexes
import { indexes } from "https://deno.land/x/polkadot@0.2.12/api-derive/accounts/indexes.ts";

Examples

api.derive.accounts.indexes((indexes) => {
  console.log('All existing AccountIndexes', indexes);
});

Parameters

instanceId: string
api: DeriveApi

Returns

() => Observable<AccountIndexes>

Returns all the indexes on the system.