market
A wallet’s swaps from our own indexed trades (legacy and new contract), newest first, in the get_wallet_txs row shape the My Swaps history parses
A wallet’s swaps from our own indexed trades (legacy and new contract), newest first, in the get_wallet_txs row shape the My Swaps history parses
get/market/wallet-swaps
Request
- Base URLhttps://swap-backend.stage.defi.ovh.gala.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
sizeunknown
Example:50
Page size (max 100)
pageunknown
Zero-based page
addressunknown required
Comma-separated wallet addresses to match (at most 3), e.g. client|<id>,eth|<hex>. A registered wallet’s legacy swaps are recorded under its eth| signer and its new-contract swaps under its client| alias, so send both.
Response
Example response
[
{
"block_number": 12345,
"tx_number": "synthetic-transaction-hash",
"created_at": "2026-08-01T00:00:00.000Z",
"creator": "client|000000000000000000000000",
"sender": "client|000000000000000000000000",
"recipient": "v2:GALA$GUSDC$3000",
"tx_type": "GalaChainDex:Trade",
"tx_subtype": "Swap",
"quantity": 1,
"tx_validation_code": "0",
"tx_validation_enum": "VALID",
"usd_volume": 25.5,
"swap_token_0_amt": -100,
"swap_token_1_amt": 4000,
"swap_token_0_name": "GALA",
"swap_token_1_name": "GUSDC",
"swap_token_0_asset_id": "GALA$Unit$none$none",
"swap_token_1_asset_id": "GUSDC$Unit$none$none",
"unique_key": "synthetic-unique-key",
"pool_hash": "v2:GALA$GUSDC$3000"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.