Common Params
In the SDK method calls, there are three generic parameters: connectId
, deviceId
, commonParams
.
The input parameters are obtained as follows:
connectId
: Obtained from theconnectId
field of the device returned in thesearchDevice
interface.The connect id of the device is never changed.
deviceId
: The deviceId field returned by thegetFeatures
interface.The device id changes when the hardware is reset. Like wipe the device.
commonParams
: common parametersretryCount
: optionalnumber
type. The number of retries when the device is connected, default is 6.pollIntervalTime
: optionalnumber
type. The interval time for polling when the device is connected, default is 1000 ms, each polling will increase the time by 1.5 times.timeout
: optionalnumber
type. The timeout of the connection polling.keepSession
: optionalboolean
type. The Session persists after executing the API method.passphraseState
: optionalstring
type. If you want to use a passphrase wallet, please pass that parameter. We will validate and cache the passphrase to optimize the user experience of entering the passphrase and reduce the number of input attempts. To retrieve that parameter, please call thegetPassphraseState
method.useEmptyPassphrase
: optionalboolean
type. Allow the creation of a passphrase wallet with an empty value.initSession
: optionalboolean
type. Cache the passphraseState parameter.deriveCardano
: optionalboolean
type. default is set totrue
for all cardano related methods, otherwise it is set tofalse
. This parameter determines whether device should derive cardano seed for current session. Derivation of cardano seed takes longer then it does for other coins.
Last updated