Trezor Connection Status

trezor_connection_statusAPI-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::*).

Request Parameters

Parameter Type Required Description
device_pubkey string Expected public key of the Trezor device. If specified and a different device is connected, an error is returned.

Response Parameters

Parameter Type Required Description
status string One of: Connected, Disconnected, Busy.

📌 Example

POST Trezor Connection Status trezor_connection_status
{
  "userpass": "RPC_UserP@SSW0RD",
  "mmrpc": "2.0",
  "method": "trezor_connection_status",
  "id": 0
}
Show Trezor Connection Status Response
{
  "mmrpc": "2.0",
  "result": {
    "status": "Connected"
  },
  "id": 0
}

Error Types

Parameter Type Required Description
TrezorNotInitialized string A Trezor device has not been initialized on this node.
FoundUnexpectedDevice string A connected device does not match the supplied device_pubkey.
Internal string Unhandled internal error.