Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I query Grant history for a profile? #55

Open
therealharpaljadeja opened this issue Dec 27, 2023 · 0 comments
Open

How do I query Grant history for a profile? #55

therealharpaljadeja opened this issue Dec 27, 2023 · 0 comments

Comments

@therealharpaljadeja
Copy link
Contributor

In the case of the MicroGrant example, I cannot certainly find a profile's grant history what I am trying to query is

"query microGrantRecipients by profileId"

This is not directly possible but if a microGrant has been initialized with useRegistryAnchor as true then the recipientId of the microGrantRecipient query and the anchor of the profile will be the same, but in case useRegistryAnchor is false the other way is to filter by sender but then again sender can have multiple profiles so there is no way to figure out which profile was used to register a given recipient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant