Pools and Positions (V2)
REST APIs for SaucerSwap V2 pools and positions
Last updated
REST APIs for SaucerSwap V2 pools and positions
Last updated
Access the SaucerSwap API using the following base URLs for testnet and mainnet environments:
Hedera Network | Base URL |
---|---|
Mainnet
Testnet
Previewnet
Not supported
Hedera account id
"0.0.12345"
Successful response
NFT serial number representing user's position
160
Hedera account id
"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"
Swap fee tier denoted in basis points
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"
Successful response
1
"0.0.3948521"
Total amount for token A
"6313040"
Total amount for token B
"6313042"
Swap fee tier for the pool, denoted in basis points
500
Encoded square root of price ratio between tokens in the pool as a Q64.96 number
"79228162514992909706099547250"
Current active tick index, representing a specific price point in the pool
0
Total liquidity for the pool
"10878982596"
Successful response
1
"0.0.3948521"
Total amount for token A
"6313040"
Total amount for token B
"6313042"
Swap fee tier for the pool, denoted in basis points
500
Encoded square root of price ratio between tokens in the pool as a Q64.96 number
"79228162514992909706099547250"
Current active tick index, representing a specific price point in the pool
0
Total liquidity for the pool
"10878982596"
1
Successful response
1
"0.0.3948521"
Total amount for token A
"6313040"
Total amount for token B
"6313042"
Swap fee tier for the pool, denoted in basis points
500
Encoded square root of price ratio between tokens in the pool as a Q64.96 number
"79228162514992909706099547250"
Current active tick index, representing a specific price point in the pool
0
Total liquidity for the pool
"10878982596"