js-bigchaindb-driver icon indicating copy to clipboard operation
js-bigchaindb-driver copied to clipboard

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

Open daniel-pan-moos opened this issue 4 years ago • 1 comments
trafficstars

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 avatar Dec 09 '20 16:12 daniel-pan-moos

@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.

getlarge avatar Mar 05 '21 19:03 getlarge