Skip to main content

Interface: Transport

A transport protocol used to communicate with the Ledger Live platform

Implemented by

Properties

onMessage

onMessage: undefined | MessageHandler

A function to handle new messages coming from the Ledger Live platform

Defined in

packages/core/lib/transports/types.d.ts:16

Methods

send

send(message): void

A function to send new messages to the Ledger Live platform

Parameters

NameType
messagestring

Returns

void

Defined in

packages/core/lib/transports/types.d.ts:20