cURL
curl --request POST \ --url https://prv.stake.biya.io/stake/buyback/revenue/calculate \ --header 'Content-Type: application/json' \ --data ' { "round_id": "<string>", "revenue_pool_amount": "<string>" } '
{ "round_id": "<string>", "total_pool": "<string>", "participant_count": 123, "records": [ { "id": "<string>", "round_id": "<string>", "participation_id": "<string>", "user_address": "<string>", "total_pool": "<string>", "user_share": "<string>", "claimed_amount": "<string>", "claim_status": 123, "created_at": "<string>", "updated_at": "<string>" } ], "success": true, "message": "<string>" }
CalculateRevenue calculates revenue for a buyback round
CalculateRevenueRequest requests revenue calculation
OK
CalculateRevenueResponse contains revenue calculation result
Show child attributes