Vai al contenuto
GET /v1/proposals

List governance actions

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/cardanoproposals-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/cardanoproposals-api/v1/proposals" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cardanoproposals-api/v1/proposals", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cardanoproposals-api/v1/proposals");
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/cardanoproposals-api/v1/proposals",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Cardano governance actions (Conway era), newest first — each with its type (TreasuryWithdrawals, ParameterChange, HardForkInitiation, NewConstitution, NoConfidence, …), the deposit posted, the lifecycle epochs (proposed / ratified / enacted / dropped / expired) and a derived status. DReps, SPOs and the committee vote on these. Paginate with limit & offset; read the tally in /v1/summary.",
        "count": 25,
        "offset": 0,
        "source": "Koios",
        "proposals": [
            {
                "status": "active",
                "meta_url": "https://most-brass-sun.quicknode-ipfs.com/ipfs/QmSy2CiQhPBzzNLKDFVvMQaDb1FQDbmn9bJf6fVntVAQ1t",
                "block_time": 1781014526,
                "deposit_ada": 100000,
                "proposal_id": "gov_action1654yj97lf7guxsh27phtknq2tsc4dajp95fh7vrucaltjy0502csq7qtkhq",
                "dropped_epoch": null,
                "enacted_epoch": null,
                "expired_epoch": null,
                "proposal_type": "TreasuryWithdrawals",
                "proposed_epoch": 636,
                "ratified_epoch": null,
                "return_address": "stake1u8453de8xhhqa9c4ftvylkke8we84tmaq5hz75qwfgaaf2qac45ja",
                "proposal_tx_hash": "d52a4917df4f91c342eaf06ebb4c0a5c3156f6412d137f307cc77eb911f47ab1"
            },
            {
                "status": "active",
                "meta_url": "https://raw.githubusercontent.com/AGT-T/RTG/refs/heads/main/data.jsonld",
                "block_time": 1781010735,
                "deposit_ada": 100000,
                "proposal_id": "gov_action1t5ap7etluvct2x69nj5mfqhurgakuvekyflcsrv2qkrhrs378n3qq3z2c22",
                "dropped_epoch": null,
                "enacted_epoch": null,
                "expired_epoch": null,
                "proposal_type": "InfoAction",
                "proposed_epoch": 636,
                "ratified_epoch": null,
                "return_address": "stake1u92wn278g870tde4e0yqteeua0zvsmqspp8fkrgcrvamp9qshxudj",
                "proposal_tx_hash": "5d3a1f657fe330b51b459ca9b482fc1a3b6e3336227f880d8a058771c23e3ce2"
            },
            {
                "status": "active",
                "meta_url": "ipfs://QmYaPeha2PvacQxAwt5ZRsunGGgVbNwgDzu9pxLWA8zS9d",
                "block_time": 1780948561,
                "deposit_ada": 100000,
                "proposal_id": "gov_action1fah9m7dxu99af8jqdc4mkrgs3va790nyh9tfhycq2wsvrm47p4rsqtcm6ry",
                "dropped_epoch": null,
                "enacted_epoch": null,
                "expired_epoch": null,
                "proposal_type": "TreasuryWithdrawals",
                "proposed_epoch": 635,
                "ratified_epoch": null,
                "return_address": "stake1uy7ucfwsxtv36lz2drg4nw538xswshmg9pw8h2yzqd4qrzgzhyrsg",
                "proposal_tx_hash": "4f6e5df9a6e14bd49e406e2bbb0d108b3be2be64b9569b930053a0c1eebe0d47"
            },
            {
                "status": "active",
                "met
…