The type of action to filter history (e.g., "ADD_LIQUIDITY", "REMOVE_LIQUIDITY", "COLLECT_FEE").
startTime
string
optional
The start time of the time range for filtering history (Unix timestamp in milliseconds).
endTime
string
optional
The end time of the time range for filtering history (Unix timestamp in milliseconds).
tickL
string
optional
The lower bound of the price range for filtering history.
tickR
string
optional
The upper bound of the price range for filtering history.
limit
string
optional
The maximum number of history records to retrive (Default is 500. Maximum is 1000).
fromId
string
optional
The ID from which to start fetching records. In this API, since the order is descending (backwards), if fromId is set to 100, the system will return records starting from the ID just before 100 and continue moving backwards. The retrieval will proceed until the limit is reached.
Contains the history of user actions within the specified AMM pool, filtered based on the provided query parameters.
id
string
required
Unique identifier for the action.
poolId
string
required
Unique identifier of the AMM pool associated with the action.
type
string
required
Type of action (e.g., "ADD_LIQUIDITY", "REMOVE_LIQUIDITY", "COLLECT_FEE").
tickL
string
required
Lower bound of the price range of the position.
tickR
string
required
Upper bound of the price range of the position.
timestamp
string
required
Timestamp of when the action occurred (Unix timestamp in milliseconds).
baseAssetAmount
string
required
Amount of the base asset involved in the action. Positive values indicate adding liquidity or collecting fee, while negative values indicate removing liquidity.
quoteAssetAmount
string
required
Amount of the quote asset involved in the action. Positive values indicate adding liquidity or collecting fee, while negative values indicate removing liquidity.