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