benfenGetPublicKey

Benfen: get public key

Get public key from device using BIP32 path.

Use requirement

  • Firmware version required

    • pro: 4.12.0

const result = await HardwareSDK.benfenGetPublicKey(connectId, deviceId, {
  path: "m/44'/728'/0'/0'/0'",
  showOnOneKey: false
});

Params

Optional common params

  • path - required string | Array<number> minimum length is 3. read more

  • showOnOneKey - optional boolean whether to display public key on device

Returns:

  • success: boolean - True if successful

  • payload:

    • path: string - BIP32 path used

    • pub: string - Public key in hex format

Example:

Last updated

Was this helpful?