这是hash https://bscscan.com/tx/0xab375204779802481076bfa51baa9940eafe1b8446ff92adeb2e83c56adb44c0
const tx = await router.swapETHForExactTokens(
amountOutMin,
[tokenIn, tokenOut],
data.recipient,
Date.now() + 1000 60 10, //10 minutes
{
'gasLimit': data.gasLimit,
'gasPrice': ethers.utils.parseUnits(${data.gasPrice}
, 'gwei')
});
tx.wait().then((receipt) => { console.log('Transaction receipt'); console.log(receipt); }).catch((error) => { console.log("error", error) })