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

[Feature request] A function for querying transactions like the python driver provides #303

Open
daniel-pan-moos opened this issue Dec 9, 2020 · 1 comment

Comments

@daniel-pan-moos
Copy link

daniel-pan-moos commented Dec 9, 2020

According to the documentation for js-bigchaindb-driver it apparently only offers functions for querying assets and metadata. I am speaking of searchAssets() and searchMetadata(). But unlike the python driver it does not support querying for transactions. I urgently need such a function in order to check that an asset (the transaction containing the asset) is owned by a certain public key.

@daniel-pan-moos daniel-pan-moos changed the title Improvement suggestion: A function for querying transactions like the python driver provides [Feature request] A function for querying transactions like the python driver provides Dec 30, 2020
@getlarge
Copy link
Member

getlarge commented Mar 5, 2021

@daniel-pan-moos Maybe the functions you are looking for are documented here.
You have getTransaction to retrieve a transaction by its id and listOutputs to retrieve transactions spent or unspent for a given publicKey.

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

No branches or pull requests

2 participants