File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -740,7 +740,7 @@ async function fetchActions(
740740 actionStates ,
741741 tokenId ,
742742 /* _filterOptions= */ undefined ,
743- /* retryWithoutTxInfo = */ true
743+ /* _excludeTransactionInfo = */ true
744744 ) ,
745745 graphqlEndpoint ,
746746 networkConfig . archiveFallbackEndpoints
Original file line number Diff line number Diff line change @@ -322,7 +322,10 @@ const getActionsQuery = (
322322 actionStates : ActionStatesStringified ,
323323 tokenId : string ,
324324 _filterOptions ?: EventActionFilterOptions ,
325- retryWithoutTxInfo : boolean = false
325+ // As of 2025-01-07 minascan is running a version of the node API which supports `sequenceNumber` and `zkappAccountUpdateIds` fields
326+ // In case a user tries to access an older API version, we support making the query without these fields, but can't guarantee action ordering
327+ // Transaction sequence info is required to be 100% certain of action order
328+ _excludeTransactionInfo : boolean = false
326329) => {
327330 const { fromActionState, endActionState } = actionStates ?? { } ;
328331 let input = `address: "${ publicKey } ", tokenId: "${ tokenId } "` ;
@@ -345,7 +348,7 @@ const getActionsQuery = (
345348 accountUpdateId
346349 data
347350 ${
348- retryWithoutTxInfo
351+ _excludeTransactionInfo
349352 ? ''
350353 : 'transactionInfo { sequenceNumber zkappAccountUpdateIds }'
351354 }
You can’t perform that action at this time.
0 commit comments