Positions
post
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
400
Invalid pubkey format
post/positions/{pubkey}/by-filter
get
Path parameters
idstringRequired
Position pubkey as hex string
Responses
200
Position details
application/json
400
Invalid pubkey format
application/json
404
Position not found
text/plain
get/position/{id}
get
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
400
Invalid pubkey format
application/json
404
Position not found for specified pool
text/plain
get/position/{pubkey}/{pool_id}
get
Path parameters
pubkeystringRequired
User's pubkey as hex string
Responses
200
List of positions
application/json
historicalGainPctstringRequired
totalIncrementToken0AmountintegerRequired
totalIncrementToken1AmountintegerRequired
estimatedApy24hstring · nullableOptional
estimatedApy7dstring · nullableOptional
400
Invalid pubkey format
get/positions/{pubkey}
Last updated