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 cec7b35 commit 9d64b0eCopy full SHA for 9d64b0e
components/toolbox/hooks/useWrappedNativeToken.ts
@@ -33,7 +33,8 @@ export function useWrappedNativeToken(): WrappedNativeTokenHook {
33
abi: WrappedNativeToken.abi,
34
functionName: 'deposit',
35
value: parseEther(amount),
36
- account: walletEVMAddress as `0x${string}`
+ account: walletEVMAddress as `0x${string}`,
37
+ chain: viemChain
38
});
39
40
notify({
@@ -54,7 +55,8 @@ export function useWrappedNativeToken(): WrappedNativeTokenHook {
54
55
56
functionName: 'withdraw',
57
args: [parseEther(amount)],
58
59
60
61
62
0 commit comments