Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CIP-???? | Universal Query Layer #869

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

klntsky
Copy link
Contributor

@klntsky klntsky commented Aug 1, 2024

A transport-agnostic query layer specification for use in dApps and wallets.

See CPS-12 for motivation.

(rendered version)


Response:

- `TransactionUnspentOutput[]`
Copy link
Contributor

Choose a reason for hiding this comment

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

CIP-0116 defines this to include a TransactionOutput with this schema: https://github.com/cardano-foundation/CIPs/blob/b81611632f9dcea0b87d7d96cf673a720c77e929/CIP-0116/cardano-babbage.json#L445C6-L445C23

I would like to point out that chain data APIs seemingly do not decode the datum by default, i.e. when responding with transaction outputs.

I just stumbled over this yesterday in Hydra, which uses the cardano-api library to encode TxOuts and that results in a decoded datum mapped to json equivalence. See also our (messy, sorry) api reference: https://hydra.family/head-protocol/unstable/api-reference/#schema-TxOut

@rphair rphair changed the title CIP-XXXX | Universal Query Layer CIP-???? | Universal Query Layer Aug 1, 2024
@rphair rphair added the Category: Tools Proposals belonging to the 'Tools' category. label Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Tools Proposals belonging to the 'Tools' category.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants