extract api interaction from deposit btc view