Implements basic endpoints ported from btcTape