Skip to main content

Device API

Read and set the state of what you are connected to. info reports the DCENT Web Bridge (the popup layer), getDeviceInfo reports the hardware wallet itself — device id, firmware version, label and active transport — and setLabel renames it.

info​

Reports transport / popup status, not hardware data, and needs no device I/O of its own. Like every request method, the first call opens the popup and is answered only after the connection handshake completes — with no device connected yet, that means after the user picks and connects a device (bounded by a 60 s handshake timeout). Later calls in the same popup session are answered without device I/O once any request queued ahead of them settles (the connector sends one request at a time), and report ready: false / isAttached: false / transport: undefined if the device has since been disconnected.

getDeviceInfo​

Retrieves information about the connected DCENT hardware wallet — device id, firmware version, label, and active transport. Returns a typed V1Response<DeviceInfoPayload>, so fields like body.parameter.label are directly accessible.

setLabel​

Sets the device's display label. The label is validated against a strict character/length rule before being sent.