We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97e5080 commit 778bf2cCopy full SHA for 778bf2c
packages/thirdweb/src/react/core/hooks/useStepExecutor.ts
@@ -408,6 +408,14 @@ export function useStepExecutor(
408
abortControllerRef.current = abortController;
409
410
try {
411
+ if (flatTxs.length > 0 && !wallet) {
412
+ throw new ApiError({
413
+ code: "INVALID_INPUT",
414
+ message: "No wallet provided to execute transactions",
415
+ statusCode: 400,
416
+ });
417
+ }
418
+
419
// Execute onramp first if configured and not already completed
420
if (preparedQuote.type === "onramp" && onrampStatus === "pending") {
421
await executeOnramp(
0 commit comments