aries-cloudagent-python
aries-cloudagent-python copied to clipboard
Docs needed, predicates in `"/present-proof-2.0/records/<presentationExchangeId>/send-presentation"` examples
I'm trying to sendPresentation for a request that has predicates, but I can't seem to construct valid sendPresentation request with predicates included. I can see that predicates in SendPresentation request only have
`public static final class IndyRequestedCredsRequestedPred {
private String credId;
private Integer timestamp;
}`
But in request I have some condition like age >= 20, I tried adding just same name from request (age for example) and setting credId
to credential for which I want to sendPresentation but then I get error from Ursa
Error: Invalid structure. Caused by: UrsaCryptoError: Predicate is not satisfied. CommonInvalidStructure.