Posts

scotbot: sending out token rewards is protected by manual review and new claiming token API

avatar of @holger80
25
@holger80
·
0 views
·
1 min read

When the amount of token that can be claimed is above the daily pool size, it will be hold until a manual review is done. This protects the scot tribes and prevent issuing accidentally more token than the pool contains.

The payout threshold can be modified by the token owners. Let me know, when I should change the manual review threshold. At the moment, the threshold is set to the token amount that is added daily to the pool.

New Api endpoint for check pending claims

The following endpoint returns all my pending claims:

https://scot-api.steem-engine.com/get_pending_claims?account=holger80

and this call returns the pending claims for LEO

https://scot-api.steem-engine.com/get_pending_claims?account=holger80&token=LEO

Result of a token claim:

and after the token are issued but not confirmed:

and when the transaction could be confimed, it is removed from the api output:

A pending claim is shown when the scot_claim_token custom_json was send out and no token were issued yet. When the token could successfully be sent, the entry is removed again from the api output.

This API could be used to show the user that the token are being processed.