Skip to main content

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 transfer
  • date: filter by date of the transfer
  • depth: fitler by depth of the call
  • initialAddress: filter by initial address of transfer
  • initialDate: filter by initial date of transfer
  • initialTime: filter by initial time of the transfer
  • options: filter returned data by ordering, limiting, and constraining it.
  • receiver: filter by receiver of transfer
  • sender: filter by sender of transfer
  • time: fitler by time of the transfer
  • amount: returns transfered value
  • any:
  • block: returns block where transaction is included
  • count: returns count of transfers
  • countBigInt: returns coutn as BigInt
  • currency: returns currency of transfer
  • depth: returns depth of the graph
  • maximum: returns maximum of selected measurable field of coinpath
  • minimum: returns minimum of selected measurable field of coinpath
  • receiver: returns receiver address
  • sender: returns sender address
  • transaction: 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.