checkTransportRelease

Check OneKey bridge release

Check the version update status of the hardware connection tool Bridge.

const response = await HardwareSDK.checkTransportRelease();

Params

  • empty

Example

const response = await HardwareSDK.checkTransportRelease();

Result

{
  success: true,
  payload: string, // local bridge version status, 'valid' or 'outdated'
}

Error

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

Last updated