everscale-inpage-provider
everscale-inpage-provider copied to clipboard
sendMessage: Parameter count mismatch
Can somebody explain why i got this error ?

when I use this script
public async getEverWalletTransaction(
recipient: string,
price: any,
payload: any,
): Promise<string> {
console.log(this.wallet.address);
console.log(recipient);
console.log(price.toString());
console.log(payload);
const { transaction } = await this.ton.rawApi.sendMessage({
sender: this.wallet.address,
recipient,
amount: price.toString(),
bounce: true,
payload,
});
return transaction.id.hash;
}
@kepamuk For an answer, it is always good to make a minimally reproducible example, without it there is an assumption that your code interacts with a non-standard contract.
when calling your smart contract functions, you have passed wrong number of arguments, check your frontend function & smart contract function & also double check your ABI