Skip to main content

Get User Positions

Authentication: API key HMAC Query parameters: Response type: UserPositionsResponse.

Get Position Value

Authentication: API key HMAC Query parameters: Response type: UserPositionValue.

Get User Activity

Authentication: API key HMAC Query parameters: Response type: Pagination<Activity>.

Get Markets Traded Count

Authentication: API key HMAC Response type: number.

Get Redeemable Positions

Authentication: API key HMAC Returns resolved markets where you currently have a redeemable indexed position. Response type: RedeemablePosition[].

Redeem Positions

Authentication: API key HMAC Redeems one or more resolved market positions in a single transaction. For a one-market redeem, send one market ID in marketIds. Request body: Response type: BatchRedeemResponse. ExcludedRedeemMarket:

Get Mergeable Positions

Authentication: API key HMAC Returns active markets where you currently hold both outcome legs and can merge complete sets back into collateral. Response type: MergeablePosition[].

Merge Positions

Authentication: API key HMAC Merges complete Yes/No sets for one or more active markets in a single transaction. For a one-market merge, send one market ID in marketIds. You do not provide an amount; Hit computes the merge amount from your live on-chain balances. Request body: Response type: BatchMergeResponse. ExcludedMergeMarket:

UserPosition

proposedResolvedTo and proposedAt describe the current proposal and can remain present after final resolution. Use status !== "RESOLVED" when deciding whether to show a pending-resolution state.

Activity