Invalid params / Invalid arguments (-32602)

This error may include "code":"-32602”.

What it means

The provided RPC parameters are incorrect for one or more of these reasons:

  • The type or structure of the passed arguments doesn't match the expected ones.
  • Required arguments for the method are missing.
  • The method expects a different number of arguments.

How to fix it

Ensure all required parameters are provided in the expected format (e.g., string, array, number) and order for the RPC method you are calling.

Note: This method does not mean the onchain contract method being called is incorrect.

Did this answer your question?
😞
😐
🤩