This doc describes how you can process airdrops for users using Admin API
Also you can do an adjustment for admin account but after airdrop make sure to deposit total amount of the airdrop to the platform hot wallet.
uid | currency_id | amount |
---|---|---|
ID1000003838 | usdt | 100 |
ID1000003839 | usdt | 100 |
ID1000003840 | usdt | 100 |
Also you can use directly Admin API with POST request to api/v2/peatio/admin/airdrops
Example with curl:
curl -X POST -F 'file=@spec/resources/airdrops/airdrop.csv' 'https://opendax.cloud/api/v2/admin/airdrops'
Admin who received deposit for the airdrop total amount should process airdrop from HIS user. Example:
If user not exist in peatio DB it will be skipped.
If currency not exist in peatio DB airdrop will be skipped.
If admin doesn't have enough funds for whole airdrop system will not execute any transfers for provided csv.