anyone getting this error with msafe?
Type mismatch for argument 1, expected ‘string | AccountAddress’
i get it when trying to execute a transaction. its my first transaction btw so i could be being dumb. happens with both wallets that control the 2/2 signers neede multisig.
1 Like
Hello! The error message “Type mismatch for argument 1, expected ‘string | AccountAddress’” indicates that the function you are calling expects the first argument to be either a string or an AccountAddress type, but the argument you provided does not match these types.
Since this is your first transaction, you might want to check:
- If the addresses you’re using are correctly formatted as strings
- That you’re passing the correct data type in the transaction execution.
- If there are any updates or changes in the Msafe API that could be affecting this.
I’m not a developer, so I’m not very familiar with it. If you’re still having issues, kindly ask here: aptos-labs/aptos-developer-discussions · Discussions · GitHub
3 Likes