import { hwLedger } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts";
const { Ledger } = hwLedger;
Methods
getAddress(): Promise<LedgerAddress>
confirm?,
accountOffset?,
addressOffset?,
unnamed 3?: Partial<AccountOptions>,
Returns the address associated with a specific account & address offset. Optionally asks for on-device confirmation
sign(): Promise<LedgerSignature>
message: Uint8Array,
accountOffset?,
addressOffset?,
unnamed 3?: Partial<AccountOptions>,
Signs a transcation on the Ledger device
withApp<T>(fn: (app: SubstrateApp) => Promise<T>): Promise<T>