Added BCI raw tx fetching, and fixed a few bugs