zksync-web-era-docs
zksync-web-era-docs copied to clipboard
`zkSyncProvider.sendTransaction` is not a function
The docs here refer to an API that no longer exists. I'm assuming it's using ethers v5 instead of v6, but it's not clear the issue here.
If you copy paste this code as such, it will not work.
https://docs.zksync.io/build/developer-reference/account-abstraction/building-smart-accounts#sending-transactions