From 66c4d37746d823799a5e9b2abcc2b3f3b0ff8fd8 Mon Sep 17 00:00:00 2001 From: Joaquim Verges Date: Wed, 24 Sep 2025 15:01:28 +1200 Subject: [PATCH] [SDK] Fix transaction parameter ordering in injected wallet --- packages/thirdweb/src/wallets/injected/index.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/thirdweb/src/wallets/injected/index.ts b/packages/thirdweb/src/wallets/injected/index.ts index 9fdce219a50..a6b5498f270 100644 --- a/packages/thirdweb/src/wallets/injected/index.ts +++ b/packages/thirdweb/src/wallets/injected/index.ts @@ -201,16 +201,17 @@ function createAccount({ }; const params = [ { - ...tx, - authorizationList: tx.authorizationList - ? ox__Authorization.toRpcList(tx.authorizationList) - : undefined, ...gasFees, from: this.address, gas: tx.gas ? numberToHex(tx.gas) : undefined, nonce: tx.nonce ? numberToHex(tx.nonce) : undefined, to: tx.to ? getAddress(tx.to) : undefined, + data: tx.data, value: tx.value ? numberToHex(tx.value) : undefined, + authorizationList: tx.authorizationList + ? ox__Authorization.toRpcList(tx.authorizationList) + : undefined, + accessList: tx.accessList, ...tx.eip712, }, ];