getting price and fee data from blockchain api