Skip to content

Add new API endpoints for Blockfrost API v0.1.85#1

Merged
semsorock merged 5 commits intomasterfrom
claude/update-lib-api-changes-vsb0U
Feb 23, 2026
Merged

Add new API endpoints for Blockfrost API v0.1.85#1
semsorock merged 5 commits intomasterfrom
claude/update-lib-api-changes-vsb0U

Conversation

@semsorock
Copy link
Owner

@semsorock semsorock commented Feb 22, 2026

Update the SDK to match all API changes since v0.1.37, including:

  • Accounts: account_utxos (v0.1.69), account_transactions (v0.1.82)
  • Blocks: block_latest_transactions_cbor (v0.1.74), block_transactions_cbor (v0.1.75)
  • Transactions: transaction_required_signers (v0.1.61), transaction_cbor (v0.1.64)
  • Network: network_eras (v0.1.46)
  • Governance (new): Full Conway-era governance support with DRep and
    proposal endpoints including dreps listing, drep details, delegators,
    metadata, updates, votes, proposals listing, proposal details,
    parameters, withdrawals, votes, and metadata
  • Fixes: Integration test and README.md typo

Bump version to 0.7.0 (API v0.1.85).
All tests pass.

Update the SDK to match all API changes since v0.1.37, including:

- Accounts: account_utxos (v0.1.69), account_transactions (v0.1.82)
- Blocks: block_latest_transactions_cbor (v0.1.74), block_transactions_cbor (v0.1.75)
- Transactions: transaction_required_signers (v0.1.61), transaction_cbor (v0.1.64)
- Network: network_eras (v0.1.46)
- Governance (new): Full Conway-era governance support with DRep and
  proposal endpoints including dreps listing, drep details, delegators,
  metadata, updates, votes, proposals listing, proposal details,
  parameters, withdrawals, votes, and metadata

Bump version to 0.7.0 (API v0.1.85).
All 211 tests pass.

https://claude.ai/code/session_01FSq7HNQWih59Y5NX349Diq
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Python SDK surface area to align with Blockfrost API changes up to v0.1.85, adding newly introduced Cardano endpoints (including Conway governance) plus corresponding tests and a package version bump.

Changes:

  • Added new Cardano API methods for accounts, blocks, transactions, network eras, and a new governance module (DReps + proposals).
  • Added/extended unit + integration tests covering the new endpoints.
  • Bumped package version to 0.7.0 and updated the package description to API v0.1.85.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/test_cardano_transactions.py Adds tests for transaction_required_signers and transaction_cbor.
tests/test_cardano_network.py Adds tests for network_eras.
tests/test_cardano_governance.py New test suite covering governance (DReps + proposals) endpoints.
tests/test_cardano_blocks.py Adds tests for block transaction CBOR endpoints.
tests/test_cardano_accounts.py Adds tests for account_utxos and account_transactions.
setup.py Bumps SDK version and updates API version in description.
blockfrost/api/cardano/transactions.py Adds transaction_required_signers and transaction_cbor methods.
blockfrost/api/cardano/network.py Adds network_eras method.
blockfrost/api/cardano/governance.py New governance API implementation (DReps + proposals).
blockfrost/api/cardano/blocks.py Adds block_latest_transactions_cbor and block_transactions_cbor methods.
blockfrost/api/cardano/accounts.py Adds account_utxos and account_transactions methods.
blockfrost/api/init.py Wires new Cardano API methods into BlockFrostApi.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

semsorock and others added 4 commits February 23, 2026 11:44
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Update governance test fixtures to use valid mainnet DRep and proposal
IDs that exist on-chain. Fix transaction submit test to check status_code
instead of removed error string. Update evaluate_cbor test to match new
Ogmios response structure with ScriptFailures nesting.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fix failing integration tests for governance and transaction endpoints
@semsorock semsorock merged commit 6e3a4cb into master Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants