Closed aybmiliom closed 1 week ago
const swap = await contract.methods.swapExactETHForTokens( trx_amount, [ "TNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFR", "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t", ], "TRpZ1F9xxxxxxxxxxxxxxxxxxxxxxxx", deadline ).send({value:trx_amount});
Please fill out the application in the correct format. Incorrect formats will result in the issue being closed.
const swap = await contract.methods.swapExactETHForTokens( trx_amount, [ "TNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFR", "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t", ], "TRpZ1F9xxxxxxxxxxxxxxxxxxxxxxxx", deadline ).send({value:trx_amount});