On this page

Trezor Connection Status

API-v2trezor_connection_status

The trezor_connection_status method reports the real-time connection state of a Trezor hardware wallet that was previously initialized (see task::init_trezor::*).

ParameterTypeRequiredDescription
device_pubkeystring(Optional) Expected public key of the Trezor device. If specified and a different device is connected, an error is returned.

ParameterTypeDescription
statusstringOne of: Connected, Disconnected, Busy.

Trezor Connection Status

POST
trezor_connection_status
{
  "userpass": "RPC_UserP@SSW0RD",
  "mmrpc": "2.0",
  "method": "trezor_connection_status",
  "id": 0
}

ParameterTypeDescription
TrezorNotInitializedstringA Trezor device has not been initialized on this node.
FoundUnexpectedDevicestringA connected device does not match the supplied device_pubkey.
InternalstringUnhandled internal error.