/v1/governance
Recent on-chain governance proposals
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/passage-api/v1/governance" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/passage-api/v1/governance", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/passage-api/v1/governance");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/passage-api/v1/governance",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"chain": "Passage",
"count": 10,
"proposals": [
{
"id": "22",
"title": "Proposal 22",
"status": "PROPOSAL_STATUS_VOTING_PERIOD",
"summary": null,
"submit_time": "2026-06-13T01:15:53.142045233Z",
"voting_end_time": "2026-06-20T01:15:53.142045233Z"
},
{
"id": "21",
"title": "Proposal 21",
"status": "PROPOSAL_STATUS_VOTING_PERIOD",
"summary": null,
"submit_time": "2026-06-12T22:15:41.848642490Z",
"voting_end_time": "2026-06-19T22:15:41.848642490Z"
},
{
"id": "20",
"title": "Proposal 20",
"status": "PROPOSAL_STATUS_PASSED",
"summary": null,
"submit_time": "2026-05-08T08:02:36.801699767Z",
"voting_end_time": "2026-05-15T08:02:36.801699767Z"
},
{
"id": "19",
"title": "Proposal 19",
"status": "PROPOSAL_STATUS_PASSED",
"summary": null,
"submit_time": "2025-06-17T08:02:44.782534890Z",
"voting_end_time": "2025-06-24T08:05:54.552938321Z"
},
{
"id": "18",
"title": "Proposal 18",
"status": "PROPOSAL_STATUS_PASSED",
"summary": null,
"submit_time": "2025-04-07T17:29:13.056288548Z",
"voting_end_time": "2025-04-14T17:29:13.056288548Z"
},
{
"id": "17",
"title": "Proposal 17",
"status": "PROPOSAL_STATUS_PASSED",
"summary": null,
"submit_time": "2025-04-07T11:28:24.857394666Z",
"voting_end_time": "2025-04-14T11:28:24.857394666Z"
},
{
"id": "16",
"title": "Proposal 16",
"status": "PROPOSAL_STATUS_PASSED",
"summary": null,
"submit_time": "2025-04-07T11:23:00.569419242Z",
"voting_end_time": "2025-04-14T11:23:00.569419242Z"
},
{
"id": "15",
"title": "Proposal 15",
"status": "PROPOSAL_STATUS_PASSED",
"summary": null,
"submit_time": "2025-04-07T11:06:41.944477590Z",
"voting_end_time": "2025-04-14T11:06:41.944477590Z"
},
{
"id": "14",
"title": "Proposal 14",
"status": "PROPOSAL_STATUS_PASSED",
"summary": null,
"submit_time": "2025-04-07T11:02:51.309407471Z",
"voting_end_time": "2025-04-14T11:02:51.309407471Z"
},
{
"id": "13",
"titl
…