'Im trying to swap crypto on the BNB network,, I want to do this in c#, given TokenA and TokenB, what would be the fastest way to accomplish this?
Ive been investigating for a while and I cant find anything, the most I could find is that I have to call this function somehow using web3
function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
external
payable
returns (uint[] memory amounts);
I just need like a simple example on how to do this with c#
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
