Comments (2)
Looks like doc is incorrect and correct function is sendToken
https://developers.tron.network/docs/tronweb-trx-functions#section-send-token
https://github.com/TRON-US/tronweb/blob/3ab10ff8c604cae580509bec58f9437caef6aca9/src/lib/trx.js#L914
But responce fails with {"Error":"class org.tron.core.exception.ContractValidateException : No asset !"}
for me
from tronweb.
Judging by function's code, it works only for trc10 tokens, makes sense now. Doc is incorrect through
from tronweb.
Related Issues (20)
- The error "Uncaught (in promise) ReferenceError: Buffer is not defined" HOT 1
- use tronweb error in vue3 HOT 2
- Varying outcomes are obtained when estimating energy through different methods. HOT 1
- How to predict fee for transfer transaction(TRX & USDT) HOT 1
- Callback not defined HOT 1
- ReferenceError: callback is not defined HOT 1
- Critical in v5.3.2 Cannot find module @noble/secp256k1 HOT 7
- Typescript support is needed! HOT 1
- what is `energy_penalty` returned by triggerConstantContract? HOT 5
- eth
- delegateResource from active permsion HOT 5
- `triggerConstantContract` and `estimateenergy` do not return the correct energy amounts HOT 8
- Using tronweb in vite, the instance calls tronweb.address.fromHex('xxx'), which fails to convert to the trx chain address, HOT 1
- How can I get a public key? HOT 4
- Error in Interact with the contract "Property 'balanceOf' does not exist on type 'Contract'. HOT 5
- node.js, get error when want to use
- require() of ES Module HOT 6
- CORS error HOT 17
- A typo in `latest_operation_time`? HOT 1
- Uncaught TypeError: Cannot destructure property 'Transaction' of 'globalThis.TronWebProto' as it is undefined. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tronweb.