tron_example
missing 2230e4d8df533aa48c4b3fab7651ff3e9a98a92fc5cac9fa17686ef6b600d573
Returns contracts and transfers on Tron, where tx owner is TZ2Akd…tYXf, receiver is TZ2Akd…tYXf and sender is TZ2Akd…tYXf: count, fee, amount, currency name, currency address, currency symbol, token type and 3 more fields.
What it returns
- count
- fee
- amount
- currency name
- currency address
- currency symbol
- token type
- token ID
- contract type
- claimable rewards
Filters
- tx owner is TZ2Akd…tYXf
- receiver is TZ2Akd…tYXf
- sender is TZ2Akd…tYXf
- address is TZ2Akd…tYXf
- receiver is not system
- contract type is FreezeBalance
- contract type is UnfreezeBalance
The query
query ($address: String!, $since: ISO8601DateTime, $till: ISO8601DateTime) {
tron {
fees: contracts(
txOwner: {is: $address}
time: {since: $since, till: $till}
options: {}
) {
count
fee
}
in: transfers(receiver: {is: $address}) {
amount
currency {
name
address
symbol
tokenType
tokenId
}
}
out: transfers(sender: {is: $address}, receiver: {not: "system"}) {
amount
currency {
name
address
symbol
tokenType
tokenId
}
}
stake: contracts(txOwner: {is: $address}, contractType: {in: "FreezeBalance"}) {
amount
contractType
}
Unstake: contracts(
txOwner: {is: $address}
contractType: {in: "UnfreezeBalance"}
) {
amount
contractType
}
address(address: {in: [$address]}) {
claimableRewards
}
}
}
Variables
{
"address":"TZ2AkdSbVordzqLVrNwRCtyQoLzy1stYXf",
"offset": 0,
"since" : null,
"till" : null
}
Similar queries
- 1 query · Tron · Transfers
- tron balances complete · Tron · Transfers
- tron balances complete_ · Tron · Transfers
- tron_balance__ · Tron · Transfers
- TronBalanceAtAuditDate · Tron · Transfers