A command line program to compute and print out in/out flow of BNB of the target wallet/contract address
It will involve utilizing 2 related APIs of bscscan.com as follows
in order to have an understanding of BNB in/out flow, and balance respectively for each type of transaction as well as final balance for entire address.
cargo build
.HX_INOUTFLOW_API_KEY
to api-key that you have from step 2.cargo r -- <target-address>
inoutflow-bsc <target-address>
Sample output is similar to following
``` Found 436 transactions! - BNB outflow: 0 BNBs - BNB inflow: 10.03534257 BNBs - BNB balance: 10.03534257 BNBs
Found 2 internal transactions! - BNB outflow: 10.035 BNBs - BNB inflow: 0 BNBs - BNB balance: -10.035 BNBs
Total balance: 0.0003425699999990428 BNBs ```
MIT, Wasin Thonkaew