Live proposal state + required quorum
dexe_proposal_stateReads a DeXe proposal's state, required quorum, and votes in one multicall; required quorum is an absolute weight met per side by For or Against votes.
Instructions
Read-only. Reads getProposalState, getProposalRequiredQuorum and the proposal's votes in one multicall. requiredQuorum is an ABSOLUTE vote weight, not a percentage; quorum is per-side — either For or Against clearing it reaches quorum.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"govPool": "<govPool>",
"proposalId": "<proposalId>"
},
"name": "dexe_proposal_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainId | No | Chain to read from: 56 mainnet, 97 testnet. Needs an RPC for it. Default: the configured chain. | |
| govPool | Yes | GovPool contract address | |
| proposalId | Yes | On-chain proposal id, 1-indexed decimal (dexe_proposal_list). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| govPool | Yes | ||
| votesFor | Yes | ||
| proposalId | Yes | ||
| stateIndex | Yes | ||
| votesAgainst | Yes | ||
| quorumReached | Yes | ||
| requiredQuorum | Yes | ||
| votesForFormatted | No | ||
| votesShortOfQuorum | Yes | ||
| votesAgainstFormatted | No | ||
| quorumAttainmentForPct | Yes | ||
| requiredQuorumFormatted | No | ||
| quorumAttainmentAgainstPct | Yes |