-
-
Notifications
You must be signed in to change notification settings - Fork 351
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
royalty event missing? #3349
Comments
Hey if anyone can check on this one? |
🚶♂️ 👋 |
Oops my bad it's more of a Backend issue reference kodadot/snek#36 |
@KngZhi you wanna take a look? You have some experience with indexers 😄 |
😄 okay, I will give it shot. |
@petersopko it looks like |
hmm, I don't see much from the screenshot. The point of PAY_ROYALTY event is, that there should be royalty paid based on the original percentage set upon minting of NFT. Therefore, every time NFT is sold, there's royalties paid to the original creator. Can you confirm / verify that is the current behavior in KodaDot? |
Still in dire need of bughunt and fix here: query MyQuery {
nftEntities(where: {id_eq: "2916213696-5"}) {
events {
interaction
timestamp
}
price
name
}
} above query is returning 0 PAY_ROYALTY events, even though, there was a set royalty and I have purchased it However, when looking specifically for query MyQuery {
events(where: {interaction_eq: PAY_ROYALTY}) {
id
nft {
name
id
price
royalty
}
}
}
Check it out at https://app.gc.subsquid.io/beta/snekk/003/graphql @KngZhi :) Your help here will be much appreciated! |
Thanks, Peter I will check that. Snek is too black box for me, 😂 |
Okay @vikiival just figured it out, it all makes sense and works 😆, this wasn't a bug in the first place:
|
Upon testing buying listed NFT with royalties, I don't see the event PAY_ROYALTY in history component of collection or in snek playground. This is the mentioned NFT https://beta.kodadot.xyz/bsx/gallery/235937109-8
It had royalty set, it has changed user and there was no royalty paid in the end. Not sure if I'm missing something here, but I was expecting to see royalty paid everytime NFT changes owner?
The text was updated successfully, but these errors were encountered: