Trace where money came from or went
trace_fundsFollow money between addresses. direction in: who sent funds to this address, hop by hop back, plus who first funded it. out: where its funds went, hop by hop forward. both: its largest counterparties either way. Exchanges and protocols end a path. Returns the 15 largest flows. Example: { address: "0x...", direction: "in", depth: 2 }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | No | Only this coin (coin type or symbol). | |
| depth | No | Hops to follow, 1 to 3. Default 2. | |
| minUsd | No | Skip flows smaller than this many USD. Default 10. | |
| address | Yes | A Sui address (0x...), a SuiNS name like example.sui, or @example. | |
| direction | No | in (sources), out (destinations) or both (top counterparties). Default in. |