Skip to main content

LedgerTransportImpl

open class LedgerTransportImpl : Disposable, AutoCloseable, LedgerTransport

A link to a Ledger device implemented in the host language, for the links the SDK does not provide: Bluetooth through Ledger's mobile SDKs, or WebHID and WebUSB in the browser.

Functions​

NameSummary
close@Synchronized
open override fun close()
destroyopen override fun destroy()
exchangeopen suspend override fun exchange(apdu: ByteArray): ByteArray
Send an APDU command (cla ins p1 p2 len data) to the device and return its answer: the response payload followed by the two-byte status word.