Module

x/polkadot/mod.ts>hwLedger.Ledger#getAddress

Package publishing for deno.land/x/polkadot
Go to Latest
method hwLedger.Ledger.prototype.getAddress
import { hwLedger } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts";
const { Ledger } = hwLedger;

Returns the address associated with a specific account & address offset. Optionally asks for on-device confirmation

Parameters

optional
confirm = [UNSUPPORTED]
optional
accountOffset = [UNSUPPORTED]
optional
addressOffset = [UNSUPPORTED]
optional
unnamed 3: Partial<AccountOptions> = [UNSUPPORTED]

Returns

Promise<LedgerAddress>