transferKey(recipient: String)
Transfers key to other user (DAppFather tries to refill both accounts on success).
Params:
recipient
- address of recipientkey as payment
- key to send
Requirements:
valid key (issuer, timestamp)
key in users wallet
Error messages:
[E3] Wrong key issuerr
- asset issuer is other than Supplier[E8] Key expired
- timestamp in key description expired[E15] Wrong payments count
- more or less than one asset provided as payment
PreviousdeviceActionAs(keyID: String, action: String, keyOwner: String, mobileId: String)NextrequestKey(deviceAddr: String, duration: Int)
Last updated