Skip to content

v0.5.0

Latest

Choose a tag to compare

@slowbackspace slowbackspace released this 22 Jul 14:26
7c2f324

Summary

Brings blockfrost-go up to date with OpenAPI spec v0.1.89.

New endpoints

Governance — constitutional committee (api_governance.go) (#90, thanks @wolf31o2)

  • Committee — /governance/committee — currently active constitutional committee
  • CommitteeVotes / CommitteeVotesAll — /governance/committee/votes — committee votes
  • CommitteeMemberVotes / CommitteeMemberVotesAll — /governance/committee/{cc_id}/votes — votes cast under a committee credential

New response fields

Accounts (#90)

  • AccountRegistrationHistory.Deposit (*string) — deposit in Lovelaces paid at registration, null on deregistration rows

Governance (#90, #91)

  • DrepUpdate.Deposit (*string) — deposit paid at DRep registration, null on deregistered/updated rows
  • Drep list items now include Amount (voting power), HasScript, Retired, Expired, LastActiveEpoch (*int) and embedded Metadata (*DrepListMetadata, matches DrepMetadata without drep_id/hex)

New query parameters (#91)

/governance/dreps only — new fields on APIQueryParams, ignored by all other endpoints:

  • OrderBy — set to "amount" to sort by voting power (combines with Order)
  • Retired / Expired (*bool) — filter by registration/activity state; nil returns both

Fixes

  • Refreshed stale testdata golden files (/network/eras horizon, script evaluation costs)

What's Changed

New Contributors

Full Changelog: v0.4.0...v0.5.0