Undefnied tx hash etherscan

Hey there,
I am using moralis as an provider and when i try to execute multiple transactions after each other i get undefined as an tx hash.
this.web3Js = new Web3(Moralis.provider);

We don’t have RPC nodes any more, we had them as speedy nodes in the last. Or what is the context?

yeah rpc node but why is this then still working ?

Maybe it is in front end that syntax and is related to current connected wallet application?

its from unpkg moralis

It is in front end or in backend?

its from frontend…

Probably that is not the RPC url and it is a connection to current connected wallet application.

You will also have to sign the transactions with MetaMask? Or how you send them?

yes i signed them all through metamask

and first transaction works as expected and the other transactions don’t work as expected?

yeah, sometimes the others work but most of the time the transactions after the first one just fail

did you try directly with web3 or ethers libraries?

can moralis still listen to events like onchain closed etc… wzen i pars ein a different rpc provider like ankr

moralis doesn’t work with other chains that are not in the list of supported chains, moralis offers only an API now, moralis is not used to send transactions on chain, you are using a library to send transactions on chain, moralis v1 sdk was using ethers or web3 as a way to connect to a wallet in front end

yeah i am using the v1 sdk. Is it deprecated or can it still be used

you can still use it but we are not maintaining it any more

can i somehow change the rpc provider. I am kinda dependent on moralis and i need the transactions to work, not only the first one

you can use directly web3 or ethers with a custom RCP url if you want, if you are using moralis sdk v1 in the browser with metamask extension then the RPC url that is in metamask is used

1 Like

is there any error in network tab of the browser when it doesn’t work?