Currently the only way to retrieve a transaction is by ID. However there is no way to retrieve a transaction ownership chain using the driver.
BigchainDB already has a get_transactions_filtered() method but doesn't allow both CREATE and TRANSFER operations to be searched at the same time. The operation would be sent as 'ALL' or a list of transactions to include. Given a created asset ID as the transaction ID return the CREATE transaction as well as any TRANSFER transactions.
Description
Currently the only way to retrieve a transaction is by ID. However there is no way to retrieve a transaction ownership chain using the driver.
BigchainDB already has a get_transactions_filtered() method but doesn't allow both CREATE and TRANSFER operations to be searched at the same time. The operation would be sent as 'ALL' or a list of transactions to include. Given a created asset ID as the transaction ID return the CREATE transaction as well as any TRANSFER transactions.