/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/teritori-api/v1/governance" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/teritori-api/v1/governance", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/teritori-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/teritori-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": "Teritori",
"count": 10,
"proposals": [
{
"id": "42",
"title": "💎$ATOM Airdrop ✅ New Version 2025 ⭐",
"status": "PROPOSAL_STATUS_REJECTED",
"summary": "Get 💎$ATOM Airdrop ✅ visiting url: [www.CosmoWeb.at][1] - 3 - url: [www.cosmoweb.at][1]",
"submit_time": "2025-01-23T01:58:00.670048813Z",
"voting_end_time": "2025-01-25T01:58:00.670048813Z"
},
{
"id": "41",
"title": "Reactivate expired IBC client for Cosmos Hub",
"status": "PROPOSAL_STATUS_FAILED",
"summary": "The IBC client 07-tendermint-32 used for Cosmos Hub is currently in an expired state. If accepted, this proposal will update client 07-tendermint-32 with the data from 07-tendermint-100",
"submit_time": "2024-09-10T16:51:41.450451649Z",
"voting_end_time": "2024-09-12T16:51:41.450451649Z"
},
{
"id": "40",
"title": "Increase TxSizeCostPerByte 15x",
"status": "PROPOSAL_STATUS_PASSED",
"summary": "Increase TxSizeCostPerByte 15x, see https://github.com/notional-labs/placid",
"submit_time": "2024-05-21T14:06:24.436322136Z",
"voting_end_time": "2024-05-23T14:06:24.436322136Z"
},
{
"id": "39",
"title": "Reduce Maximum Block Size to 5MiB",
"status": "PROPOSAL_STATUS_PASSED",
"summary": "Reduce Maximum Block Size to 5MiB",
"submit_time": "2024-05-21T13:36:23.555969051Z",
"voting_end_time": "2024-05-23T13:36:23.555969051Z"
},
{
"id": "38",
"title": "Consensus upgrade to v2.0.0",
"status": "PROPOSAL_STATUS_PASSED",
"summary": "Consensus upgrade to v2.0.0",
"submit_time": "2024-01-24T18:15:51.771176895Z",
"voting_end_time": "2024-01-26T18:15:51.771176895Z"
},
{
"id": "37",
"title": "Reactivate expired IBC client for Juno",
"status": "PROPOSAL_STATUS_PASSED",
"summary": "The IBC client 07-tendermint-33 used for Juno is currently in an expired state. If accepted, this proposal will update client 07-tendermint-33 with the data from 07-tendermint-96",
"submit_time": "2024-01-14T13:01:40.623190136Z",
"voting_end_time": "2024-01-16T14:16:04.248880882Z"
},
{
"id": "34",
"title": "Upgrade to v1.4.0",
"status": "PROPOSAL_STATUS_PASSED",
"summary": "This proposal if voted will upgrade the chain to v1.4.0\\n## Upgrade Features\\nThis release contains a number of chain updates including
…