Skip to content

[bug] Missing or invalid. request() method: eth_sendTransaction #2343

@gabrielstoica

Description

@gabrielstoica

Link to minimal reproducible example

https://github.com/WalletConnect/web-examples/blob/main/advanced/wallets/react-wallet-v2/src/hooks/useWalletConnectEventsManager.ts#L163

Summary

When trying to send a transaction through a smart account (connected to it through a wallet connect URI) via session_request I'm getting the following error:

Screenshot 2024-05-30 at 22 08 19

I'm using the exact same code provided in the minimal reproducible example above. The event is not even triggered at all.

This video describe best what I'm trying to achieve: https://x.com/stoicaxyz/status/1778710389091447227. This was working few days ago, I could connect to Uniswap with a smart contract through my EOA, then swap ETH for WETH. Now, I can still connect but when trying to send a transaction (i.e. swap) I get the error above.

Looking forward to understanding where's the problem! Thanks!

List of related npm package versions

@web3modal/wagmi": "^4.1.5"
@walletconnect/web3wallet": "1.12.1"
@wagmi/core: "^2.6.16",

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions