@ledgerhq/live-app-sdk / Exports / Transport
A transport protocol used to communicate with the Ledger Live platform
alpha
• onMessage: undefined
| MessageHandler
A function to handle new messages coming from the Ledger Live platform
▸ connect(): void
Connect the transport instance
void
▸ disconnect(): void
Disconnect the transport instance
void
▸ send(payload
): Promise
<void
>
A function to send new messages to the Ledger Live platform
Name | Type |
---|---|
payload |
unknown |
Promise
<void
>