Reward Unit
In the ZBD Rewards SDK, rewards are sent as units. A unit is a configurable value determined by your ZBD Customer Success Manager and can represent different amounts, such as 1 satoshi or $0.10. For example, if the game is configured so that 1 unit = 1 satoshi, sending 1 reward will send 1 satoshi. Conversely, if the game is set up so that1 unit = $0.10, sending 1 reward will send the equivalent of $0.10 in satoshis.
Sending Rewards
To send a reward to a user you can call:For enhanced security and validation, we recommend handling reward distribution from your backend server.