cURL
curl --request GET \ --url https://prv.stake.biya.io/stake/buyback/rounds
{ "rounds": [ { "id": "<string>", "round_id": "<string>", "start_time": "<string>", "end_time": "<string>", "status": 123, "total_slots": 123, "booked_slots": 123, "min_amount": "<string>", "max_amount": "<string>", "total_collected": "<string>", "revenue_pool": "<string>", "burn_tx_hash": "<string>", "created_at": "<string>", "updated_at": "<string>" } ], "pagination": { "page": 123, "page_size": 123, "total": "<string>", "total_pages": 123, "has_prev": true, "has_next": true } }
GetBuybackRounds queries buyback rounds with pagination
页码,从1开始,默认1(基于页数的分页)
每页大小,默认20,最大100
游标(基于游标的分页,用于大数据集优化,优先级高于 page) 对于区块:使用区块高度(height) 对于交易:使用交易号(tx_number)或区块高度+交易号的组合
OK
GetBuybackRoundsResponse contains a list of buyback rounds
Show child attributes
分页响应信息