kaspaSignTransaction
Use requirement
Firmware version required
Touch: 4.3.0
Classic/Mini: 3.0.0
Kaspa: 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
version
— requirednumber
transaction version.inputs
- requiredArray
of KaspaSignInputParams.outputs
- requiredArray
of KaspaSignOutputParams.lockTime
- requirednumber
sigHashType
- requirednumber
sigOpCount
- optionalnumber
subNetworkID
- optionalstring
prefix
- optionalstring
Address prefix. Default is set tokaspa
scheme
- optionalstring
Encryption algorithm mode. Default is set toschnorr
Examples
Result
Error
Last updated