For a given function, if there is a function method which accepts type boolean as an argument and if a boolean argument either true or false if given then it would result in error :
Transaction failed
BaseError: Invalid boolean value: "true" (type: string). Expected: `true` or `false`.
Version: viem@2.23.3

For a given function, if there is a function method which accepts type boolean as an argument and if a boolean argument either true or false if given then it would result in error :