Implement market stats in blockchain API