Comments (4)
Hi, you welcome
Balance and transaction queries can not be send with this project.
You need to send http requests to a Tron node, like TronGrid or if there is any, you need to use some indexer services (paid or free) to get that information.
For example to get the balance for an address;
curl --location --request POST 'https://api.trongrid.io/walletsolidity/getaccount' \
--header 'Content-Type: application/json' \
--data-raw '{
"address": "TSFa2......",
"visible": true
}'
You can't get transactions of an address from node directly. You need to scan the blockchain block by block, transaction by transaction to check it that address received a transaction.
Or you can use an existing indexer service if you find any, I don't know any.
from hdwallet.
@farukterzioglu thanks. and also for transfering trx or trc20 token I should use other APIs?
from hdwallet.
TRX transfer kinda easy, you can check here;
https://github.com/farukterzioglu/HDWallet/tree/master/src/HDWallet.Tron
But transferring TRC20 requires more stuff also regarding to Ethereum, you can start to read Tron docs for this.
from hdwallet.
@farukterzioglu thanks
from hdwallet.
Related Issues (20)
- Github Actions workflows are not working HOT 3
- Add implementation AdressGenerator for Cardano HOT 1
- HDWallet.Ethereum HOT 3
- netstandard versions HOT 3
- Some Cryptos (Terra, Avalanche ...) Do Not Work With NBitcoin 7.0.5 HOT 3
- TronNet 0.2.0 is not compatible with netstandard2.0 (.NETStandard,Version=v2.0). HOT 1
- Not compatible with netstandard2.0 (.NETStandard,Version=v2.0). HOT 6
- Do you support trc20 token transfer? HOT 1
- Need Offline build transaction and sign HOT 7
- Deposit USDT TRC20 HOT 1
- Internal Address HOT 1
- Is it possible to create multiple addresses from a private key HOT 1
- Tutorial about how to create Dogecoin and Litecoin HD Wallet HOT 1
- send and receive USDT in Tron network HOT 3
- Aggregate values HOT 5
- Tron/Ethereum HD Wallet
- Scan 100,000 wallets and get notified after receiving coinsReceive when receiving coins
- Stacks addresses incorrect
- Hardened deriviation path HOT 1
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 hdwallet.