DeFis, DEX and DEX pools reference, endpoint descriptions, and links.
We collect and index a lot of on-chain and off-chain data about DeFis, DEX, and DEX pools on Sui and list them on Suiscan. Among those are also liquidity pools and AMM/DEX.
DeFis
DeFis - Decentralized Finance - are Web3 applications that provide financial services just as bank and non-bank institutions do: lending, exchange, deposits, yield farming, etc. DeFis are decentralized in a way that their logic is totally executed by code, and no individual or institution controls them.
The following endpoints are available for accounts on Blockberry.
Endpoint | Description |
---|---|
getDefis | Get a list of all DeFis provided by DefiLlama. |
getTopDefiProjects | Get the top 5 DeFi projects on Sui by volume in the last 24 hours. Powered by DefiLlama. |
DEX
A DEX — Decentralized Exchange — is a DeFi that directly swaps one coin denomination for another at a defined exchange rate. A DEX is sometimes called an AMM — Automated Market Maker. Unlike a CEX - Centralized Exchange - a DEX is not controlled by an individual or an institution but governed by code.
The following endpoints are available for accounts on Blockberry.
Endpoint | Description |
---|---|
getDex | Get a list of all DEXes registered with the Sui Directory. |
getDexTransactions | Get all transactions run by the queried DEX. |
getDexTransactionsByHash | Get all transactions run by a DEX with specific dex pool id (hash). |
getDexPoolByHash | Get details of the queried DEX pool by id (hash). |
getDexProjects | Get a list of all DEX projects registered with the Sui Directory. |
DEX Pairs
For a DEX to be able to swap coins, it needs a liquidity pool that looks like a pair of coins (DEX pair or DEX Pool). There's a certain amount of Coin A and Coin B. Coin A can be swapped for Coin B at a set exchange rate, which is constantly changing. A liquidity pool must have a sufficient amount of Coin A and Coin B.
The following endpoints are available for accounts on Blockberry.
Endpoint | Description |
---|---|
getDexPools | Get the total number of all DEX pools registered with the Sui Directory. |
getDexPoolByHash | Get details of the queried DEX pool by id (hash). |
getTopDexPairs | Get the top 5 dex pairs by volume in the last 24 hours. |