We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi everyone, I need send max amount, so how to send maximum amount? I don't know how to get a fee for the transaction. I'm using go-sdk. thanks!
send, err := client.SendToken([]msg.Transfer{{toAccAddress, []types.Coin{{nativeSymbol, amount}}}}, true)
The text was updated successfully, but these errors were encountered:
I got the function, thanks all!
func (bs *BinanceService) GetFees() ([]interface{}, error) { c := basic.NewClient(bs.conf.BinanceConfig.API_URL) qp := map[string]string{} resp, code, err := c.Get("/fees", qp) var fees []interface{} if err != nil { if code == http.StatusNotFound { return fees, nil } return nil, err } if err := json.Unmarshal(resp, &fees); err != nil { return nil, err } return fees, err }
Sorry, something went wrong.
No branches or pull requests
Hi everyone, I need send max amount, so how to send maximum amount? I don't know how to get a fee for the transaction.
I'm using go-sdk.
thanks!
send, err := client.SendToken([]msg.Transfer{{toAccAddress, []types.Coin{{nativeSymbol, amount}}}}, true)
The text was updated successfully, but these errors were encountered: