-
Notifications
You must be signed in to change notification settings - Fork 11.4k
[TSSDK] When doing queryTransactionBlocks, the query does not get the data. #21002
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
Comments
Thank you for opening this issue, a team member will review it shortly. Until then, please do not interact with any users that claim to be from Sui support and do not click on any links! |
Interesting, I see events being returned when I query graphql through graphiql.
|
It looks like it depends on what RPC node you are hitting. Using suiscans rpc node this works fine: https://stackblitz.com/edit/typescript-tvriknbs?file=index.ts |
Could the be an indexer vs fullnode issue? |
@hayes-mysten So the official rpc doesn't support this feature? Also I found some inconsistencies between the graphql query return and the query return from sdk using rpc calls to queryTransactionBlocks. #21006 (comment) |
Why I can't get data when I use client's queryTransactionBlocks to query the testnet for object changes? Is there any limitation on the testnet? Does the mainnet have the same limitation? How should I call the query for this?
this is my object id:
https://testnet.suivision.xyz/object/0x2334d0cb7ff274291965cecadbe87b76229426310117f2e96cb41bf8c87ed6ed
this is my code:
this is the log info:
response: { data: [], nextCursor: null, hasNextPage: false }
BTW I don't have this problem with localnet.
The text was updated successfully, but these errors were encountered: