Carries out some action on device (tries to refill account on success).
keyID
- id of nft token
action
- action to be carried out
Valid key (timestamp, issuer)
Key whitelisted in device's wallet
Asset (key) in invoking user's wallet
[E1] Key not owned
- Key not found in user's wallet
[E3] Wrong key issuer
- Key issuer is other than Supplier
[E4] No such device
- There is no such device in Supplier dApp
[E5]Key not whitelisted
- Key is not whitelisted in device's data
[E6]Device not connected
[E7] Device not active
[E8] Key expired
[E19] Not a key
- there is no asset with given id
[E20] Not a device key
- there is no device info in key