import { Ledger } from "https://deno.land/x/polkadot@0.2.30/hw-ledger/mod.ts";
Constructors
new
Ledger(transport: LedgerTypes, chain: Chain)Methods
getAddress(): Promise<LedgerAddress>
getApp(): Promise<SubstrateApp>
getVersion(): Promise<LedgerVersion>
sign(): Promise<LedgerSignature>
withApp<T>(fn: (app: SubstrateApp) => Promise<T>): Promise<T>