-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Hi @antoncoding
I am facing an issue with decodeTransfer() function in which the data hex of a transaction with multiple outputs doesn't return all the outputs but just the first one, I am trying to view both the outputs of this transaction (https://testnet-explorer.binance.org/tx/E78C83F2FC9089486ECD55F9DE48E9DAB164A9004C2302754D63465AC8601D44). I tried going through the code too, but couldn't find a solution.
Could you please help me with this?
You can get data hex of the transaction I am trying to get the data of by visiting this url:
https://testnet-dex.binance.org/api/v1/tx/E78C83F2FC9089486ECD55F9DE48E9DAB164A9004C2302754D63465AC8601D44
{"msg":[{"inputs":[{"address":"tbnb138u9djee6fwphhd2a3628q2h0j5w97yx48zqex","coins":[{"denom":"BNB","amount":40000000000}]}],"outputs":[{"address":"tbnb18u4mzgv403uxvh5249wlzxueejah8eagp7j7hs","coins":[{"den om":"BNB","amount":20000000000}]}],"msgType":"MsgSend"}],"signatures":[{"pub_key":{"type":"Buffer","data":[193,35,154,82,160,189,207,229,205,111,52,202,98,183,255,129,131,245,66,69]},"signature":{"type":"Buf fer","data":[10,3,66,78,66,16,128,144,223,192,74]},"account_number":112,"sequence":38}],"memo":"","source":0,"data":"","msgType":"StdTx"}