REST API: V2 liquidity positions by account
List all SaucerSwap V2 liquidity positions for a Hedera account, with NFT serials, tick ranges, liquidity, fee growth, and tokens owed per position.
Authorizations
API key provisioned by the SaucerSwap team. Request one from [email protected] and send it in the x-api-key header with every request.
Headers
API key for authentication. Request a key from [email protected].
"YOUR_API_KEY"
Path Parameters
Hedera account id (shard.realm.num)
"0.0.12345"
Response
Successful response
NFT serial number representing user's position
160
Hedera account id (shard.realm.num)
"0.0.12345"
True if this position was deleted otherwise false
false
Unix timestamp when this position was created
"1697779560.762467685"
Unix timestamp when this position was updated
"1698287867.747005303"
Fee tier in hundredths of a basis point. Divide by 100 for basis points or by 10,000 for percent; for example, 3000 = 30 bps = 0.30%.
3000
Upper end of the position's price range
-1620
Lower end of the position's price range
-2820
The amount of liquidity provided by the position
"3249809842"
Accumulated fee growth for token0 inside the tick range since the last time liquidity was added or removed
"2546890053379859378523505791149585"
Accumulated fee growth for token1 inside the tick range since the last time liquidity was added or removed
"1232345435623984092384092380932840"
Total amount of token0 owed to the position due to fees generated from swaps within the position's price range
"10"
Total amount of token1 owed to the position due to fees generated from swaps within the position's price range
"20"