DEFI
getDexPools
Get the total number of all DEX pools registered with the Sui Directory.
post/v1/dex/pools
Request
- Base URLhttps://api.blockberry.one/sui
- URLhttps://api.blockberry.one/sui/v1/dex/pools
- AuthAPI key in header x-api-key
Query parameters
pageinteger required
Queried API page.
sizeinteger required
Number of queried entries.
orderBy'ASC' | 'DESC' required
Sorting method: from the lowest element to the highest (ASC) or from the highest element to the lowest (DESC).
period'DAY' | 'WEEK' | 'MONTH' required
Period for which data is shown.
sortBy'LIQUIDITY_IN_USD' | 'VOLUME' required
Select sorting parameter.
Request body
Example request
{
"poolFactoryId": [
"CETUS"
]
}Response
OK
Changes
No recorded changes to this operation across all 2 revisions of this API.