Get a wallet's individual trades on a single chain — DEX swaps (spot) or
Hyperliquid perpetual trades, newest first. Wallet-centric companion to
`token_dex_trades` (which is token-centric).
Chain: one per call ('all'/'evm' unsupported). EVM wallets MUST pass `chain`
explicitly (e.g. ethereum, base, arbitrum); non-EVM (e.g. Solana) is
auto-detected. Use 'hyperliquid' for Hyperliquid perpetual trades
(requires an EVM address). Call once per chain to span multiple networks.
Spot columns: Time, Bought / Bought Amount, Sold / Sold Amount, Value USD, Tx Hash.
Perp columns: Time, Token, Side, Action, Size, Price, Value USD, Fee USD,
Closed PnL, Tx Hash.
Sort (`order_by`, asc/desc): timestamp, value. Filter by `valueUsd`,
`tokenAddressBought`, or `tokenAddressSold`. On spot chains the token
fields take contract addresses. On Hyperliquid they take perp symbols and
select Long or Short trades respectively; only one token field is allowed.
Example:
{
"address": "0x1f2f10d1c40777ae1da742455c65828ff36df387",
"chain": "ethereum",
"dateRange": {"from": "7D_AGO", "to": "NOW"}
}
ConnectorNo auth