Query API's to fetch transactions containing same linearId.id


(Nitesh) #1

Is there any Query API provided by Corda to fetch all the Transactions details containing states with same linerId.id ? For ex: i want to retrieve all the transactions whose states are associated with linerId.id = ‘X’


(Joel Dudley) #2

Not currently.

But you can access a full list of transactions using ServiceHub.storageService.validatedTransactions.track().first, and then filter based on linearIDs from there.


(Viswanathan S) #3

Hi @joeldudley is there any query API to fetch only json object value which i passed from stateandref?