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

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

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

Parameters

instanceId: string
  • An accounts address in various formats.
api: DeriveApi

Returns

(address?:
| Address
| AccountId
| AccountIndex
| string
| null
) => Observable<AccountId>