For the complete documentation index, see llms.txt. This page is also available as Markdown.

Positions

post

Get paginated positions for a user that match the specified filter

Path parameters
pubkeystringRequired

User's pubkey as hex string

Body
namestring[] · nullableOptional
min_liquidityinteger · nullableOptional
offsetinteger · nullableOptional
limitinteger · nullableOptional
Responses
200

Paginated positions

application/json
offsetinteger · int32Required
post/positions/{pubkey}/by-filter
get

Get position details

Path parameters
idstringRequired

Position pubkey as hex string

Responses
200

Position details

application/json
get/position/{id}
get

Get details for a user's position in the specified pool

Path parameters
pubkeystringRequired

User's pubkey as hex string

pool_idstringRequired

Pool ID as a hex string

Responses
200

List of positions

application/json
historicalGainPctstringRequired
totalIncrementToken0AmountintegerRequired
totalIncrementToken1AmountintegerRequired
estimatedApy24hstring · nullableOptional
estimatedApy7dstring · nullableOptional
get/position/{pubkey}/{pool_id}
get

Get a list of positions owned by the user

Path parameters
pubkeystringRequired

User's pubkey as hex string

Responses
200

List of positions

application/json
historicalGainPctstringRequired
totalIncrementToken0AmountintegerRequired
totalIncrementToken1AmountintegerRequired
estimatedApy24hstring · nullableOptional
estimatedApy7dstring · nullableOptional
get/positions/{pubkey}

Last updated