DAO Proposal Preview
api.arysphere.com/v1/ventures/x402_q_verdict_v1/dao_proposal_preview
DAO Proposal Preview: decoded targets, proposal state, votes and timelock delay for one OpenZeppelin Governor proposal on Ethereum or Base. Check this first. Returns: a DAO proposal preview on one OpenZeppelin Governor proposal: the decoded targets and call data the buyer posts, the proposal state, vote totals, quorum and timelock delay read from the chain, and whether each target is verified. No
POST
https://api.arysphere.com/v1/ventures/x402_q_verdict_v1/dao_proposal_previewUptime100% of 2 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.arysphere.com/v1/ventures/x402_q_verdict_v1/dao_proposal_preview", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"calldatas":["0x"],"chain":"base","descriptionHash":"0x0000000000000000000000000000000000000000000000000000000000000000","governor":"0x65bA0624403Fc5Ca2b20479e9F626eD4D78E0aD9","targets":["0x0000000000000000000000000000000000000000"],"values":["0"]}),
});
console.log(await res.json());Example input
{
"calldatas": [
"0x"
],
"chain": "base",
"descriptionHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"governor": "0x65bA0624403Fc5Ca2b20479e9F626eD4D78E0aD9",
"targets": [
"0x0000000000000000000000000000000000000000"
],
"values": [
"0"
]
}