-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
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
How to achieve TRC20 transfer #117
Comments
fromAddress := "..."
toAddress := "..."
contractAddress := "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t" // Tether USDT contract address
amount := big.NewInt(1000000) // 1 USDT
feeLimit := int64(1000000000)
tx, err = s.client.TRC20Send(fromAddress, toAddress, contractAddress, amount, feeLimit)
fmt.Println(tx) |
tronClient.Broadcast(userSignedTx) sends a transaction and gets a receipt {"result":true}, which confirms that the transaction is successful, but does not get the correct transaction hash. Is this normal? |
`
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: