Hi, Iām trying to receive pending transaction with the avalanche node. It works but this is not pending transactions, I receive transactions but 3 seconds later and already submitted. Does it means moralis avalanche node is not a validator node? or maybe latency? Thanks for your help.
If you try multiple times to run the script you get the same delay?
yes always same delay. I receive the transaction always 2 or 3 sec after they have been submited and validated.
Can you also print current block number?
Is that number up to date?
1 Like
yes I got the current block but late pending transaction. Maybe the problem comes from how I subscribe to the pending transaction. Iām using eth.subscribe(ānewPendingTransactionsāā¦ and it says : āSubscription ānewPendingTransactionsā doesnāt exist. Subscribing anyway.ā
1 Like