Open
Description
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:
const publicClient = new SuiClient({
url: getFullnodeUrl('testnet');,
});
const response = await publicClient.queryTransactionBlocks({
filter: {
ChangedObject: "0x2334d0cb7ff274291965cecadbe87b76229426310117f2e96cb41bf8c87ed6ed",
},
order: 'ascending',
cursor: lastTxRecord,
limit: 50,
options: {
showEvents: true,
},
});
console.log('response: ', response);
this is the log info: response: { data: [], nextCursor: null, hasNextPage: false }
BTW I don't have this problem with localnet.
Metadata
Metadata
Assignees
Labels
No labels