v1

latestOpenAPI 3.0.0MIT2026-07-17124105392.5 KB
Cardano » Governance

Specific DRep

DRep information.

get/governance/dreps/{drep_id}

Path parameters

drep_idstring required

Bech32 or hexadecimal DRep ID.

Response

Return the DRep information content

drep_idstring required

Bech32 encoded DRep address

hexstring required

The raw bytes of the DRep

amountstring required

The total amount of voting power this DRep is delegated.

activeboolean required

Registration state of the DRep

active_epochinteger nullable required

Epoch of the most recent registration

has_scriptboolean required

Flag which shows if this DRep credentials are a script hash

retiredboolean required

Registration state of the DRep. Set to true if the DRep has been deregistered; otherwise, false.

expiredboolean required

Whether the DRep has been inactive for a consecutive number of epochs (determined by a epoch parameter drep_activity)

last_active_epochinteger nullable required

Epoch of the most recent action - registration, update, deregistration or voting

Example response

{
  "drep_id": "drep15cfxz9exyn5rx0807zvxfrvslrjqfchrd4d47kv9e0f46uedqtc",
  "hex": "a61261172624e8333ceff098648d90f8e404e2e36d5b5f5985cbd35d",
  "amount": "2000000",
  "active": true,
  "active_epoch": 420,
  "has_script": true,
  "last_active_epoch": 509,
  "retired": false,
  "expired": false
}