diff --git a/CodeExamples.md b/CodeExamples.md index c9184b6e1..ef020a78d 100644 --- a/CodeExamples.md +++ b/CodeExamples.md @@ -504,7 +504,7 @@ Now we can make the contract call ) console.log(`Consumer ${FRE_NFT_SYMBOL} balance after swap: ${consumerDTBalance}`) - const resolvedDDO = await aquarius.waitForAqua(fixedDDO.id) + const resolvedDDO = await aquarius.waitForIndexer(fixedDDO.id) assert(resolvedDDO, 'Cannot fetch DDO from Aquarius') ``` @@ -726,7 +726,7 @@ Now we need to encrypt file(s) using provider `Consumer ${DISP_NFT_SYMBOL} balance after dispense: ${consumerDTBalance}` ) - const resolvedDDO = await aquarius.waitForAqua(fixedDDO.id) + const resolvedDDO = await aquarius.waitForIndexer(fixedDDO.id) assert(resolvedDDO, 'Cannot fetch DDO from Aquarius') datatoken = new Datatoken(consumerAccount, await consumerAccount.getChainId()) diff --git a/ComputeExamples.md b/ComputeExamples.md index 41f5c618b..19c6bae74 100644 --- a/ComputeExamples.md +++ b/ComputeExamples.md @@ -539,8 +539,8 @@ Now, let's check that we successfully published a algorithm (create NFT + Datato ### 7.1 Resolve published datasets and algorithms ```Typescript - resolvedDatasetDdo = await aquariusInstance.waitForAqua(datasetId) - resolvedAlgorithmDdo = await aquariusInstance.waitForAqua(algorithmId) + resolvedDatasetDdo = await aquariusInstance.waitForIndexer(datasetId) + resolvedAlgorithmDdo = await aquariusInstance.waitForIndexer(algorithmId) ```