REST API: Get V2 pool by id
Retrieve one SaucerSwap V2 pool by pool id, including contract id, token pair detail, fee tier, current tick, sqrt price ratio, and liquidity.
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
Saucerswap pool id
1
Response
Successful response
Pool id
1
Contract id (shard.realm.num)
"0.0.3948521"
Total amount for token A
"6313040"
Total amount for token B
"6313042"
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%.
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"