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

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

block_numbernumber required
tx_numberstring required
created_atstring date-time required
creatorstring required
senderstring required
recipientstring required
tx_type'GalaChainDex:Trade' | 'DexV3Contract:Swap' required
tx_subtype'Swap' required
quantitynumber required
tx_validation_code'0' required
tx_validation_enum'VALID' required
usd_volumenumber required
swap_token_0_amtnumber required
swap_token_1_amtnumber required
swap_token_0_namestring nullable required
swap_token_1_namestring nullable required
swap_token_0_imagestring nullable required
swap_token_1_imagestring nullable required
swap_token_0_asset_idstring nullable required
swap_token_1_asset_idstring nullable required
unique_keystring required
pool_hashstring required

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.