Skip to main content
Module

x/polkadot/hw-ledger/index.ts>Ledger

Package publishing for deno.land/x/polkadot
Go to Latest
class Ledger
import { Ledger } from "https://deno.land/x/polkadot@0.2.30/hw-ledger/index.ts";

Constructors

new
Ledger(transport: LedgerTypes, chain: Chain)

Methods

getAddress(
confirm?,
accountOffset?,
addressOffset?,
unnamed 3?: Partial<AccountOptions>,
): Promise<LedgerAddress>
getApp(): Promise<SubstrateApp>
sign(
message: Uint8Array,
accountOffset?,
addressOffset?,
unnamed 3?: Partial<AccountOptions>,
): Promise<LedgerSignature>
withApp<T>(fn: (app: SubstrateApp) => Promise<T>): Promise<T>