The coinpath field allows us to retrieve detailed information about money flow using coinpath technology from Tron network.
Filtering Options
Coinpath data can be filtered using following arguments:
currency: filter by currency of transferdate: filter by date of the transferdepth: fitler by depth of the callinitialAddress: filter by initial address of transferinitialDate: filter by initial date of transferinitialTime: filter by initial time of the transferoptions: filter returned data by ordering, limiting, and constraining it.receiver: filter by receiver of transfersender: filter by sender of transfertime: fitler by time of the transfer
amount: returns transfered valueany:block: returns block where transaction is includedcount: returns count of transferscountBigInt: returns coutn as BigIntcurrency: returns currency of transferdepth: returns depth of the graphmaximum: returns maximum of selected measurable field of coinpathminimum: returns minimum of selected measurable field of coinpathreceiver: returns receiver addresssender: returns sender addresstransaction: returns transaction of transfer happened
Example Query
The following query traces USDT fund flow from an initial address on Tron, returning amounts, block timestamps, sender/receiver balances, depth, and transaction hashes.
{
tron {
coinpath(
currency: { is: "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t" }
initialAddress: { is: "TTd9qHyjqiUkfTxe3gotbuTMpjU8LEbpkN" }
initialDate: { after: "2023-07-31" }
options: { desc: "block.timestamp.iso8601", limit: 5 }
) {
amount
block {
timestamp {
iso8601
}
}
currency {
address
name
}
depth
receiver {
address
balance
amountOut
amountIn
}
sender {
address
amountIn
amountOut
balance
}
transaction {
hash
}
}
}
}
For more coinpath examples — including receiver-based tracing — see the Tron Coinpath API examples and the Coinpath Money Flow API examples.