Description
BestMixer.io — is the Bitcoin Mixer or Bitcoin Tumbler, the service that complicates or makes almost impossible tracking of your transactions in Bitcoin Network. Bitcoin mixer or bitcoin tumbler breaks connection between your old and new address sending money from you to other people and their money to you.
BestMixer.io API alternatives and similar packages
Based on the "Third-party APIs" category.
Alternatively, view BestMixer.io API alternatives based on common mentions on social networks and blogs.
-
githubql
Package githubv4 is a client library for accessing GitHub GraphQL API v4 (https://docs.github.com/en/graphql). -
openaigo
OpenAI GPT3/3.5 and GPT4 ChatGPT API Client Library for Go, simple, less dependencies, and well-tested -
gostorm
GoStorm is a Go library that implements the communications protocol required to write Storm spouts and Bolts in Go that communicate with the Storm shells.
InfluxDB - Purpose built for real-time analytics at any scale.
Do you think we are missing an alternative of BestMixer.io API or a related project?
README
BestMixer.io API
bestmixer is a Go client library for the BestMixer.io API.
Start using it
Download and install it:
$ go get github.com/MarinX/bestmixer
Import it in your code:
import "github.com/MarinX/bestmixer"
(Optional) Run test
$ go test -v
API
creating a client
// Create a new BestMixer.io client with http.DefaultClient
// replace api_key with your own key
client := bestmixer.New("api_key", nil)
// if you have your own http.Client you can supply it
// as a second param
client := bestmixer.New("api_key", myHttpClient)
Code
Info
codeInfo, err := client.Code.Info("bm_code")
if err != nil {
fmt.Println(err)
return
}
fmt.Println("BTC:", codeInfo.BTC)
fmt.Println("BCH:", codeInfo.BCH)
fmt.Println("LTC:", codeInfo.LTC)
Fee
Info
feeInfo, err := client.Fee.Info()
if err != nil {
fmt.Println(err)
return
}
fmt.Println("fee btc:", feeInfo.BTC)
fmt.Println("fee bch:", feeInfo.BCH)
fmt.Println("fee ltc:", feeInfo.LTC)
Order
creating order
order, err := client.Order.Create(
"bm_code",
bestmixer.CoinBTC,
1.001,
[]bestmixer.Output{
bestmixer.Output{
Address: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
Percent: 5.5,
Delay: 33,
},
})
if err != nil {
fmt.Println(err)
return
}
fmt.Println("Order created:", order.OrderID)
creating fixed order
orderFixed, err := client.Order.CreateFixed(
"bm_code",
bestmixer.CoinBTC,
1.001,
[]bestmixer.Output{
bestmixer.Output{
Address: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
Percent: 0.1,
Delay: 33,
},
})
if err != nil {
fmt.Println(err)
return
}
fmt.Println("Order fixed created:", orderFixed.OrderID)
get order info
orderStatus, err := client.Order.Info("my_order_id")
if err != nil {
fmt.Println(err)
return
}
fmt.Println("Order status:", orderStatus.Status)
License
This library is under the MIT License
*Note that all licence references and agreements mentioned in the BestMixer.io API README section above
are relevant to that project's source code only.