get_counterparties
Free discovery (capped teaser): the top-N merchants a wallet actually pays, by
event count, with per-edge tx_count / total_usdc / first+last timestamps.
See WHO a counterparty transacts with before trusting it. The list is capped
(default 10, max 25) and `capped`/`total_distinct_merchants` disclose how much
is withheld; the FULL deduped payment graph and numeric edge weights are part
of the paid intel surface (GET /v1/intel/trust/{wallet}). Fail-open.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max counterparties to return (default 10, hard cap 25 - this is a capped teaser). | |
| wallet | Yes | Payer Solana wallet public key (32-44 base58 chars) whose counterparties (merchants paid) to list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only on the degraded path. | |
| capped | No | True if the full merchant set exceeds the returned list. | |
| wallet | No | The payer wallet looked up. | |
| returned | No | Number of counterparties returned (<= limit). | |
| teaser_note | No | States that the full deduped graph + edge weights are paid. | |
| total_events | No | Total observed payment events for this payer. | |
| counterparties | No | Capped top-N merchants paid, each with tx_count, total_usdc, first_at, last_at. | |
| data_available | No | False when the corpus/DB was unavailable. | |
| total_distinct_merchants | No | Total distinct merchants this payer has paid (full, uncapped). |