B3TR: Proposal results
getB3TRProposalsResultsFetches B3TR proposal voting results and IPFS description CIDs, with optional filtering by proposal ID or state for targeted queries.
Instructions
Get B3TR proposal results via /api/v2/b3tr/proposals/results. IMPORTANT: If user provides a specific proposal ID, pass it as the proposalId parameter to query directly for that single proposal - DO NOT fetch all proposals and filter! Returns proposals with voting results and IPFS description CIDs. WORKFLOW: 1) Use this tool with proposalId parameter if specific proposal requested, or browse all proposals if general query, 2) Use getIPFSContent with the description CID to get full proposal details, 3) Extract Discourse forum link from description (format: vechain.discourse.group/t/topic-name/TOPIC_ID), 4) If getDiscourseTopic is available, use it with the topic ID to fetch community discussion; if not available (optional feature), provide the forum URL for manual viewing, 5) Use getB3TRProposalComments to get on-chain voting comments. This gives complete view: proposal data + forum discussion (via API or URL) + on-chain voter comments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Zero-based results page number (default: 0) | |
| size | No | Results per page (default: 20) | |
| states | No | Filter by proposal states (optional) | |
| direction | No | Sort direction (default: DESC) | |
| proposalId | No | Optional: Filter by specific proposal ID. When provided, returns only the matching proposal. Use this to query a specific proposal directly instead of fetching all proposals. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | List response for B3TR proposals results | |
| error | No | ||
| network | Yes |