The wallet's priced trades, newest first, a row a transaction, sent by it or not; token keeps one token's. A short or empty page may still name nextBefore: pass it as before until it is null. Each key, session or (with neither) client address has one page a second, a burst of 20.
Path Parameters
A 20-byte hex address.
^0x[0-9a-fA-F]{40}$Query Parameters
The most trades the page carries. A value out of range reads as its nearest bound.
1 <= value <= 10050A page's nextBefore, as this route wrote it. The page holds the trades older than that page, and no transaction is split between two pages. Omit it for the newest page.
^[A-Za-z0-9_-]{1,256}$The trades in which this token was either side, bought, sold or paid with. Native ether (the zero address) is bad-token.
^0x[0-9a-fA-F]{40}$Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/wallets/string/swaps"{ "address": "string", "swaps": [ { "id": "string", "txHash": "string", "logIndex": 0, "blockNumber": "string", "timestamp": 0, "token": "string", "tokenSymbol": "string", "cash": "string", "cashSymbol": "string", "pool": "string", "venue": "string", "side": "buy", "amountToken": 0, "amountCash": 0, "priceUsd": 0, "volumeUsd": 0, "trader": "string", "purpose": "liquidity-add", "moved": [ { "token": "string", "symbol": "string", "amount": 0, "usd": 0 } ] } ], "source": "indexer", "nextBefore": "string"}List a wallet's liquidity positions GET
The concentrated-liquidity position NFTs the wallet owns with live liquidity, most recently changed first: each with its pool, range and liquidity, its exact amounts at the pool's price, whether the price is in range, and a USD value.
Get a wallet's profit and loss GET
Per token, the wallet's cost basis at average cost and its realized and unrealized profit, each transfer priced at its day's close. Only tokens with $1,000 of 2% depth and known decimals count. Native ether is one row under the zero address, at wrapped ether's close, with no cost or profit.