Options accepted by ReactQueryContractHelper.mutationOptions(...).
ReactQueryContractHelper.mutationOptions(...)
TanStack mutationFn is generated from the contract endpoint, so callers pass the normal TanStack mutation lifecycle options.
mutationFn
Optional
Queries to invalidate after a successful mutation and its onSuccess callback. Uses the executing mutation's QueryClient and awaits all invalidations.
Options accepted by
ReactQueryContractHelper.mutationOptions(...).TanStack
mutationFnis generated from the contract endpoint, so callers pass the normal TanStack mutation lifecycle options.