lbank-connector-go/examples/withdraw/rsa/withdraw.go

26 lines
369 B
Go

package main
import (
"lbank-connector-go/sve"
)
const (
apiKey = ""
secretKey = ""
)
var client = sve.NewClient(apiKey, secretKey)
func TestWithdraw() {
client.Debug = true
client.SetHost(sve.LbankApiHost)
data := map[string]string{
"symbol": "lbk_usdt",
"size": "1",
}
client.NewWithDrawService().Withdraw(data)
}
func main() {
TestWithdraw()
}