func NewBitIndexClient(url string) (*BitIndex, error) {
	return &BitIndex{
		BaseURL: url,
	}, nil
}
NewBitIndexClient returns a new bitIndex client for the given url
package bitcoin
import (
	"encoding/json"
	"fmt"
	"io/ioutil"
	"net/http"
)
type Utxo struct {
	TxID   string `json:"txid"`
	Vout   uint32 `json:"vout"`
	Height uint32 `json:"height"`
	Value  uint64 `json:"value"`
}
type UtxoResponse struct {
	Address string `json:"address"`
	Utxos   []Utxo `json:"utxos"`
	Balance uint64 `json:"balance"`
}
type bitIndexResponseData struct {
	Data UtxoResponse `json:"data"`
}
type BitIndex struct {
	BaseURL string
}