checkBridgeStatus

Check OneKey bridge client status

Check the operational status of the hardware connection tool Bridge.

const response = await HardwareSDK.checkBridgeStatus();

Params

  • empty

Example

const response = await HardwareSDK.checkBridgeStatus();

Result

{
    success: true,
    payload: boolean
}

Error

{
    success: false,
    payload: {
        error: string, // error message
        code: number // error code
    }
}

Last updated