Added 40 address using this function
Moralis.Cloud.run(âwatchEthAddressâ, { address: address.toLowerCase() });
But they are not syncing.
isSyncing is undefined now that are added by âwatchEthAddressâ
Added 40 address using this function
Moralis.Cloud.run(âwatchEthAddressâ, { address: address.toLowerCase() });
But they are not syncing.
isSyncing is undefined now that are added by âwatchEthAddressâ
It looks like this is the behaviour if you donât set sync_historical, as in:
x = await Moralis.Cloud.run(âwatchEthAddressâ, { address: address.toLowerCase(), âsync_historicalâ:true });
When there are no new transactions then it doesnât have anything to sync
Iâm experiencing the same issue. Even after adding the additional parameter, Iâm still getting no record.
const userAddress = "0x....";
await Parse.Cloud.run('watchEthAddress', {address: userAddress.toLowerCase(), "sync_historical":true })
const fromQuery = new Parse.Query("EthTransactions");
fromQuery.equalTo("from_address", userAddress);
const results = await fromQuery.find();
console.log(results);
What if you try from the admin interface to add that address for watch?
I think that you also have to specify the chain.
Itâs all good now. It took some time to sync historical. Thank you for the quick response.