Skip to content

@liquality.bitcoin ledger.<internal>.LedgerProvider

Krasimir Raykov edited this page Mar 30, 2022 · 1 revision

Class: LedgerProvider<TApp>

@liquality/bitcoin-ledger..LedgerProvider

Type parameters

Name Type
TApp extends IApp

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new LedgerProvider<TApp>(options)

Type parameters

Name Type
TApp extends IApp

Parameters

Name Type
options CreateOptions<TApp>

Defined in

hw-ledger/dist/lib/LedgerProvider.d.ts:11

Properties

_appInstance

Protected _appInstance: TApp

Defined in

hw-ledger/dist/lib/LedgerProvider.d.ts:10


_transport

Protected _transport: default

Defined in

hw-ledger/dist/lib/LedgerProvider.d.ts:9

Methods

errorProxy

Protected errorProxy(target, func): any

Parameters

Name Type
target any
func string

Returns

any

Defined in

hw-ledger/dist/lib/LedgerProvider.d.ts:16


getApp

getApp(): Promise<TApp>

Returns

Promise<TApp>

Defined in

hw-ledger/dist/lib/LedgerProvider.d.ts:15


getConnectedNetwork

getConnectedNetwork(): Promise<Network>

Returns

Promise<Network>

Defined in

hw-ledger/dist/lib/LedgerProvider.d.ts:13


getWalletAddress

getWalletAddress(address, getAddresses): Promise<Address>

Parameters

Name Type
address string
getAddresses GetAddressesFuncType

Returns

Promise<Address>

Defined in

hw-ledger/dist/lib/LedgerProvider.d.ts:14


isWalletAvailable

isWalletAvailable(): Promise<boolean>

Returns

Promise<boolean>

Defined in

hw-ledger/dist/lib/LedgerProvider.d.ts:12

Clone this wiki locally