aries / net.globalid.aries.features.presentproof / PresentProofService / getProofs

getProofs

abstract fun getProofs(agent: Agent, query: SearchQuery, count: Int): Single<List<ProofRecord>>

Retrieves a list of ProofRecord items for the given search criteria.

Parameters

agent - the agent

query - the query

count - the number of items to return, 100 by default

Return
the list of retrieved ProofRecord instances

abstract fun getProofs(agent: Agent): Single<List<ProofRecord>>

Retrieves a list of ProofRecord items without any query conditions with max size 100.

Parameters

agent - the agent

Return
the list of retrieved ProofRecord instances