nexaSignTransaction
Use requirement
Firmware version required
Touch: 4.4.0
Classic/Mini: 3.2.0
Nexa: Sign transaction
Asks device to sign given transaction using the private key derived by given BIP32 path. User is asked to confirm all transaction details on OneKey.
Params
inputs
- requiredArray
transaction inputspath
— requiredstring | Array<number>
minimum length is3
. read moremessage
- requiredstring
type of serialized transaction string.prefix
- requiredstring
Address prefix. Default is set tonexatest
scheme
- optionalstring
Encryption algorithm mode. Default is set toschnorr
outputs
- requiredArray
transaction outputssatoshis
- requirednumber | string
transaction amountscript
- requiredstring
transaction scriptscriptVersion
- requirednumber
transaction scriptVersion
Examples
Result
Error
Last updated