Cardano » Governance

DRep updates

List of certificate updates to the DRep.

get/governance/dreps/{drep_id}/updates

Request

  • Base URL
    https://cardano-mainnet.blockfrost.io/api/v0
  • URL
    https://cardano-mainnet.blockfrost.io/api/v0/governance/dreps/{drep_id}/updates
  • Auth
    API key in header project_id

Path parameters

drep_idstring required

Bech32 DRep ID (legacy or CIP-129).

Query parameters

countinteger

The number of results displayed on one page.

pageinteger

The page number for listing the results.

order'asc' | 'desc'

The ordering of items from the point of view of the blockchain, not the page listing itself. By default, we return oldest first, newest last.

Response

Return the Drep updates history

tx_hashstring required

Transaction ID

cert_indexinteger required

Index of the certificate within the update transaction.

action'registered' | 'deregistered' | 'updated' required

Action in the certificate

depositstring nullable required

Deposit in Lovelaces paid at this registration. null on deregistered and updated rows.

Example response

[
  {
    "tx_hash": "f4097fbdb87ab7c7ab44b30d4e2b81713a058488975d1ab8b05c381dd946a393",
    "cert_index": 0,
    "action": "registered",
    "deposit": "500000000"
  },
  {
    "tx_hash": "dd3243af975be4b5bedce4e5f5b483b2386d5ad207d05e0289c1df0eb261447e",
    "cert_index": 0,
    "action": "deregistered",
    "deposit": null
  }
]

Changes

No recorded changes to this operation across all 4 revisions of this API.