Tron Transactions API
In this section we'll have a look at some examples using the Tron Transactions API.
This Tron API is part of our Early Access Program (EAP), which is intended for evaluation purposes.
This program allows you to test the data and its integration into your applications before full-scale implementation. Read more here
Monitor Real-time Transactions by Wallet
The subscription query below fetches the transactions on the Tron network for the wallet address TDqSquXBgUCLYvYC4XZgrprLK589dkhSCf
.
subscription {
Tron {
Transactions(
where: {Transaction: {FeePayer: {is: "TDqSquXBgUCLYvYC4XZgrprLK589dkhSCf"}}}
) {
Block {
Hash
Time
Number
}
Contract {
Address
}
ChainId
Transaction {
Fee
Hash
FeePayer
Signatures
Result {
Success
Status
Message
}
Time
}
}
}
}
You can run the query here