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::*).
| Parameter | Type | Required | Description |
|---|---|---|---|
| device_pubkey | string | ✗ | (Optional) Expected public key of the Trezor device. If specified and a different device is connected, an error is returned. |
| Parameter | Type | Description |
|---|---|---|
| status | string | One of: Connected, Disconnected, Busy. |
Trezor Connection Status
POST
trezor_connection_status{
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"method": "trezor_connection_status",
"id": 0
}
| Parameter | Type | 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. |