Build a raw transaction
build_transactionBuild an unsigned Solana transaction for any AgentFund action (create_project, contribute, vote, etc.) with custom params. Returns a base64-encoded unsigned transaction for local signing and submission.
Instructions
Generic escape hatch for building an unsigned Solana transaction for any AgentFund action (e.g. 'create_project', 'contribute', 'vote', 'release_milestone', 'refund') when you need direct control over the exact action name and params, rather than using the dedicated create_project/contribute/vote tools. 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/:action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action name, forwarded as the :action path segment of POST /tx/build/:action | |
| params | No | Action-specific params, forwarded as the JSON body of POST /tx/build/:action |