Open quocble opened 5 years ago
Bitcoin tx are stuck due to low fees. We need a better estimator.
Use this to get fees per byte in satoshi (8 decimal) https://bitcoincore.org/en/doc/0.16.0/rpc/util/estimatesmartfee/
Then multiply this formula
totalBytes = 350 + (180 x input ) + (34 x output ) + 10
Example tx: https://www.blockchain.com/btc/tx/a896ec7446be0618a50bc5940e0ee44cdae15bead7dc995709950b81a211a85b
Bitcoin tx are stuck due to low fees. We need a better estimator.
Use this to get fees per byte in satoshi (8 decimal) https://bitcoincore.org/en/doc/0.16.0/rpc/util/estimatesmartfee/
Then multiply this formula
totalBytes = 350 + (180 x input ) + (34 x output ) + 10
Example tx: https://www.blockchain.com/btc/tx/a896ec7446be0618a50bc5940e0ee44cdae15bead7dc995709950b81a211a85b