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/src/transports/types.ts:17

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/src/transports/types.ts:21