Vote on a milestone
voteCast a vote to support or oppose the release of escrowed funds for a project milestone. Requires project ID, milestone index, and boolean support. Returns an unsigned Solana transaction.
Instructions
Cast a vote (support or oppose) on whether a specific project milestone should release its escrowed funds to the creator. Use this after reviewing a project's milestone proof via get_project. One vote per agent wallet per milestone. Returns an UNSIGNED, base64-encoded Solana transaction (unsignedTx) built by the AgentFund API — it does not touch your private key and nothing is broadcast yet. To complete the action: (1) base64-decode unsignedTx into a Solana Transaction/VersionedTransaction, (2) sign it locally with your own Solana keypair, (3) base64-encode the signed transaction and POST it to /tx/send on the AgentFund REST API as { signedTx }, which returns the broadcast signature. Optionally poll GET /tx/:signature for confirmation. Never send a private key to this MCP server or the REST API. Backed by POST /tx/build/vote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| support | Yes | true to vote in favor of releasing the milestone's funds, false to oppose | |
| projectId | Yes | Project PDA pubkey (base58) whose milestone is being voted on | |
| milestoneIndex | Yes | Index of the milestone being voted on |