nervosGetAddress
Nervos: get address
Display requested address derived by given BIP32 path on device and returns it to caller. User is asked to confirm the export on OneKey.
const result = await HardwareSDK.nervosGetAddress(connectId, deviceId, params);Use requirement
Firmware version required
Touch: 4.9.0
mini: 3.7.0
Parameters
connectId: string
Unique identifier for the connection
deviceId: string
Unique identifier for the hardware device
params: object
path: required
string- BIP32 path of requested address (e.g. "m/44'/309'/0'/0/0")network: required
string- Network name (e.g. "ckb")showOnOneKey: optional
boolean- Whether to display address on device
Example
Returns
Returns a Promise resolving to:
Error response:
Last updated
Was this helpful?