Skip to content

Support TxBuilder chain observation and fetcher compatibility - #25

Open
lisicky wants to merge 11 commits into
mainfrom
feat/tx-builder-provider-compatibility
Open

lisicky wants to merge 11 commits into
mainfrom
feat/tx-builder-provider-compatibility

Conversation

@lisicky

@lisicky lisicky commented Nov 23, 2026 •

Copy link
Copy Markdown

Summary

  • Expose chain tip height, transaction block height, and Plutus validity in Blockfrost, Koios, Yaci, and Iagon Insight wherever their APIs supply the data.
  • Read the Koios transaction CBOR when an older deployment omits the top-level validity flag. Match the transaction and block hashes before reading the phase-2 bit.
  • Use the Nexus transaction CBOR endpoint as a fallback for height and the explicit phase-2 validity bit, with matching transaction and block hashes.
  • Expose the MeshDevnet tip and block heights. The adapter reads validContract when the server exposes it from its ledger. The HTTP change belongs with MeshJS/mesh#863.
  • Expose OfflineFetcher.network as an optional readonly field compatible with IFetcher.

Validation

  • npm run build:mesh
  • 93 Blockfrost and OfflineFetcher tests passed for the initial changes. 160 tests passed for the cross-provider update.
  • Verified both Plutus inclusion outcomes against Mesh #873 with mocked responses for all updated providers.
  • On live Koios Preprod, submitted and confirmed a two-signature native spend and a Plutus V3 spend. Mesh #873 returned the inclusion height for both.

Required by MeshJS/mesh#873. The Mesh PR will pin the new provider release after publication.

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.

1 participant