Skip to content

requestWriteContract returns error: JsonRpcError(code: 5000, message: undefined is not a function) #289

@Eddy-orbs

Description

@Eddy-orbs

SDK Affected

AppKit

Describe the bug

A clear and concise description of what the bug is.
When my dapp call requestWriteContract to send a signed transaction thru connected wallet (Metamask), error returned.

❌ [ReownAppKitModal] requestWriteContract, error: JsonRpcError(code: 5000, message: undefined is not a function), 

Metamask app just closed without user confirmation screen with error returned above.

It is okay with "Bitget wallet" or other compatible wallet. This happens with "Metamask".
Metamask support center said, this need to be investigated by Reown.

To Reproduce

Steps to reproduce the behavior:

  1. Install "Tetra Mobile" app from playstore or appstore.
  2. connect wallet to Metamask
  3. try to send any transaction (ie. stake or delegate) - you don't need to deposit ORBS, just gas coin is okay to reporduce.

Expected behavior

Metamaks should display user confirmation for the target transaction.

A clear and concise description of what you expected to happen.

Reproducible code

If applicable, add a minimum reproducible code snippet.
A minimum reproducible code should have only Reown's SDK as dependency (besides flutter sdk of course)
There is no point you copy/paste your code if we can't run it as it is on our side.

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

No desktop

Smartphone (please complete the following information):

  • Device: iPhone Air , Galaxy Fold 7
  • OS: [e.g. iOS8.1] iOS 26 / android 16
  • Browser: flutter app (Tetra Mobile)
  • Version;

Additional context

It is okay with "Bitget wallet" or other compatible wallet. This happens with "Metamask".
Metamask support center said, this need to be investigated by Reown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions