We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e09643 commit 0a3b78dCopy full SHA for 0a3b78d
packages/ui/src/contexts/SwapProvider/useEvmSwap.tsx
@@ -224,6 +224,7 @@ export const useEvmSwap: SwapAdapter<EvmSwapQuote> = (
224
const signAndSend = async (
225
method: RpcMethod,
226
txParams: [NormalizedTransactionParams],
227
+ context?: Record<string, unknown>,
228
): Promise<string> => {
229
const isBatch = method === RpcMethod.ETH_SEND_TRANSACTION_BATCH;
230
const transactions = isBatch ? txParams : [txParams[0]];
@@ -319,6 +320,7 @@ export const useEvmSwap: SwapAdapter<EvmSwapQuote> = (
319
320
},
321
{
322
scope: network.caipId,
323
+ context,
324
325
);
326
};
0 commit comments