VeBetterDAO: Get current round ID
getCurrentRoundRetrieve the current VeBetterDAO round ID from the X Allocation Voting smart contract to filter queries for active round data. Returns real-time on-chain value.
Instructions
Get the current VeBetterDAO round ID by querying the X Allocation Voting smart contract directly. Rounds are time periods for voting cycles and reward distribution. Use this round ID to filter other queries (e.g., getB3TRGlobalOverview, getB3TRAppOverview) to see data for the current active round. Returns real-time on-chain value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| network | Yes | ||
| currentRoundId | No | Current VeBetterDAO round ID |