This PR changes changes the buy and sell functions for Uniswap and Balancer so that they only return the transaction hash txHash. Afterwards, the client poll for status by passing txHash as param in a POST request to /eth/get-receipt, which returns the transaction status.
This PR changes changes the
buy
andsell
functions for Uniswap and Balancer so that they only return the transaction hashtxHash
. Afterwards, the client poll for status by passingtxHash
as param in a POST request to/eth/get-receipt
, which returns the transaction status.If transaction has not been confirmed, output is:
If transaction has been confirmed, output is: