Aller au contenu
GET /v1/governance

Recent governance proposals

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/desmos-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/desmos-api/v1/governance" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/desmos-api/v1/governance", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/desmos-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/desmos-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": "Desmos",
        "count": 15,
        "symbol": "DSM",
        "proposals": [
            {
                "id": "50",
                "title": "Recover IBC client to Osmosis",
                "status": "PROPOSAL_STATUS_PASSED",
                "submit_time": "2026-01-04T18:04:14.436515792Z",
                "voting_end_time": "2026-01-11T18:04:14.436515792Z"
            },
            {
                "id": "49",
                "title": "Signal Proposal to Shut Down Desmos Chain",
                "status": "PROPOSAL_STATUS_REJECTED",
                "submit_time": "2024-05-23T23:24:34.702812113Z",
                "voting_end_time": "2024-05-30T23:24:34.702812113Z"
            },
            {
                "id": "48",
                "title": "Desmos v7.1.0 upgrade",
                "status": "PROPOSAL_STATUS_PASSED",
                "submit_time": "2024-04-26T15:02:57.190911153Z",
                "voting_end_time": "2024-05-03T15:42:28.070816145Z"
            },
            {
                "id": "46",
                "title": "Community Spend Proposal",
                "status": "PROPOSAL_STATUS_REJECTED",
                "submit_time": "2024-04-22T00:03:51.478395503Z",
                "voting_end_time": "2024-04-29T00:03:51.478395503Z"
            },
            {
                "id": "45",
                "title": "💎ATOM Airdrop ✅  - Cosmos Hub Proposal ⭐",
                "status": "PROPOSAL_STATUS_REJECTED",
                "submit_time": "2024-04-15T14:49:18.042518838Z",
                "voting_end_time": "2024-04-22T14:49:18.042518838Z"
            },
            {
                "id": "44",
                "title": "💎ATOM Airdrop ✅ ",
                "status": "PROPOSAL_STATUS_REJECTED",
                "submit_time": "2024-04-01T03:03:02.088054423Z",
                "voting_end_time": "2024-04-08T03:03:02.088054423Z"
            },
            {
                "id": "43",
                "title": "Parameter Change Proposal for Sub 3-Second Block Time",
                "status": "PROPOSAL_STATUS_PASSED",
                "submit_time": "2024-02-25T23:31:26.849230126Z",
                "voting_end_time": "2024-03-05T14:41:28.949594343Z"
            },
            {
                "id": "42",
                "title": "Desmos v7 upgrade",
                "status": "PROPOSAL_STATUS_PASSED",
                "submit_time": "2024-02-20T13:44:20.219830920Z",
                "voting_end_time": "2024-02-28T08:38:07.624289459Z"
            },
            {
                "id": "41",
                "title": "Signalling Proposal to Achieve Sub 3-Second Block Time for Enhanced User Experience",
                "status": "PROPOSAL_STATUS_PASSED",
                "submit_time": "2024-02-07T00:49:33.394281016Z",
                "voting_end_time": "2024-02-16T20:59:03.237071554Z"
            },
            {
                "id": "40",
                "title": "💎ATOM Airdrop ✅ 2024 New Version! ⭐",
           
…