description |
---|
You can send reward to your users as a way of incentive |
Environment | Domain |
---|---|
Staging | api-staging.blocto.app |
Production | api.blocto.app |
Authorization: <JWT>
Content-Type: application/json
{% swagger baseUrl="https://api.blocto.app" path="/reward/send" method="get" summary="Send reward" %} {% swagger-description %}
{% endswagger-description %}
{% swagger-parameter in="body" name="blockchain" type="string" %} dApp blockchain {% endswagger-parameter %}
{% swagger-parameter in="body" name="wallet_address" type="string" %} user's wallet address on the blockchain {% endswagger-parameter %}
{% swagger-parameter in="body" name="point" type="integer" %} the amount of Blocto points to send {% endswagger-parameter %}
{% swagger-response status="200" description="" %}
{
'message_code': ok
}
{% endswagger-response %} {% endswagger %}
You can find the demo project here: https://github.com/blocto/reward-demo