convert confirmations parameter to int
bug: change one of bitcoin_funding_his table's name to tx_hash and modify it's datatype