1

I am trying to sign contractof Uniswapv2 on ethereum mainnet using "quote" ABI. the function is

quote(uint amountA, uint reserveA, uint reserveB)

I use c++ to make the raw transaction and send it to RPC-API(blastapi.io). But where do i find reserveA and reserveB? what contract or RPC/API call i must use to obtain the "reserveA" and "resserveB? Please help...

1
  • Comments have been moved to chat; please do not continue the discussion here. Before posting a comment below this one, please review the purposes of comments. Comments that do not request clarification or suggest improvements usually belong as an answer, on Ethereum Meta, or in Ethereum Chat. Comments continuing discussion may be removed.
    – Ismael
    Commented Aug 26, 2023 at 18:15

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.