Normalized Trades

Query normalized trades

post
/sailfish/trades/query
Body
lower_tickintegerRequired
upper_tickintegerRequired
pool_addressesstring[]Required
token_addressesstring[]Required
to_walletsstring[]Required
from_walletsstring[]Required
Responses
200

Map of trades grouped by backend-defined key (e.g. pool address or tick)

application/json
post
/sailfish/trades/query
POST /sailfish/trades/query HTTP/1.1
Host: free.sailfish.solanavibestation.com
Content-Type: application/json
Accept: */*
Content-Length: 158

{
  "lower_tick": 1,
  "upper_tick": 1,
  "pool_types": [
    "RaydiumAmm"
  ],
  "pool_addresses": [
    "text"
  ],
  "token_addresses": [
    "text"
  ],
  "to_wallets": [
    "text"
  ],
  "from_wallets": [
    "text"
  ]
}
200

Map of trades grouped by backend-defined key (e.g. pool address or tick)

{
  "ANY_ADDITIONAL_PROPERTY": [
    {
      "index": {
        "tick": 1,
        "index_a": 1,
        "index_b": 1,
        "tx_hash": "text"
      },
      "pool_address": "text",
      "quote_token_address": "text",
      "base_token_address": "text",
      "quote_amount": "text",
      "base_amount": "text",
      "price": "text",
      "fee": "text",
      "bribe": "text",
      "from_wallet": "text",
      "to_wallet": "text",
      "from_wallet_account": "text",
      "to_wallet_account": "text"
    }
  ]
}

Last updated