Skip to content

Conversation

@Quantumplation
Copy link
Collaborator

This is a bit tedious, so if you have suggestions to improve it, please let me know!

This implements the ability to serialize a MultiEraProtocolParameters object to a json format that matches that used by ogmios:

https://ogmios.dev/api/#operation-subscribe-/?QueryLedgerStateProtocolParameters

It also tries to document a bit how some of these are represented / interpreted.

@Quantumplation
Copy link
Collaborator Author

(Also, @scarmuega if there's a FromCanonicalJson, or an easy way to do the inverse of this, please let me know :D)

@Quantumplation Quantumplation force-pushed the pi/pparams_to_canonical_json branch from 20455f9 to c4b05a9 Compare May 19, 2024 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants