Subscribing to Proposals
tip
Subscriptions are more efficient than querying repeatedly (polling).
Subscribe to receive proposal updates (creation, approval or rejection) pushed from the API.
Only members of the proposal quorum can subscribe.
Example
Schema
No description
proposal(
accounts: [Address!]
proposals: [Bytes32!]
events: [ProposalEvent!]
): Proposal!
Arguments
proposal.accounts ● [Address!] list scalar
Defaults to user accounts if no proposals are provided
proposal.proposals ● [Bytes32!] list scalar
proposal.events ● [ProposalEvent!] list enum
Defaults to all events