GET /v3/portfolio/swaps/{chain_id}/{address}
Request-time swap history of one token on one chain from Codex for the principal's server-resolved Privy wallets. Only wallets on the token's chain are read and the provider filters to swaps whose input or output is that token; a chain without a wallet returns an empty complete page. Native coins trade through their wrapped token: address native is rejected with 400. Same page shape, ordering, cursor rules and failure semantics as GET /v3/portfolio/swaps; the cursor is bound to the wallet set and the token. Display only; never balance, quote, execution or settlement authority.
Request
- Base URLhttps://api.arbital.xyz (the document declares no server; this is the origin it was published from)
- URLhttps://api.arbital.xyz/v3/portfolio/swaps/{chain_id}/{address}
- AuthHTTP bearer
Path parameters
Canonical Solana mint or nonzero EVM token address, or native for the chain native asset. EVM case is normalized.
Query parameters
Opaque next_cursor returned by the previous page of this token's history (maximum 2048 characters); bound to the current verified wallet set and the token. Pass unchanged. A cursor from the unscoped history or another token is rejected with 400.
Response
Observed same-chain DEX swaps
Example response
{
"responseObject": {
"swaps": [
{
"inExecutionPriceUsd": "0.2",
"outExecutionPriceUsd": "0.2",
"receipt": {
"executionPriceUsd": "0.2"
}
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.