get https://api.blockvision.org/v2/sui/coin/trades
Retrieve a paginated list of coin swap transactions from the decentralized exchange (DEX). Each record contains detailed information about the swap.
Supported on Sui Mainnet.
The Indexing API on Sui is currently exclusively available to Pro Members. Non-Pro members can also enjoy a trial period with an allocation of 30 free calls. If you're interested, please register directly through here. Please note that the API Key can also be used for your RPC endpoint.
Parameter
coinType
,string
- the cointype for the coin to get the information from SuiVision coin page.sender
,string
, - Address of the trade sender.type
,string
, - trade type or action descriptor (e.g.,"buy,sell"
).cursor
,string
- next page cursor.limit
,integer
- the maximum number of results to return per page. Defaults to 20, maximum is 50.
Response
-
data
,array
- A list of swap transaction records.type
,string
- Type of swap transaction, eitherbuy
,sell
,add
,remove
.txDigest
,string
- The transaction hash (digest) on the blockchain.timestamp
,integer
- Unix timestamp in milliseconds when the transaction occurred.sender
,string
- Wallet address of the user who initiated the swap.dex
,string
- Name of the DEX where the swap took place (e.g.,"momentum"
).poolId
,string
- Identifier of the liquidity pool used for the swap.coinChanges
,array object
- List of token transfer changes involved in the swap.amount
,string
- Raw integer amount of the token (on-chain format, no decimals applied).coinType
,string
- Full type string of the token (Sui coin type format).balance
,string
- Human-readable balance after applying decimals (e.g.,"0.295757"
).logo
,string
- URL to the token's logo image.symbol
,string
- Token symbol (e.g.,"SUI"
,"WAL"
).decimals
,integer
- Number of decimals used by the token.
price
,string
- The effective price of the trade (quote/base), calculated from token amounts.usdValue
,string
- Total USD value of the trade, calculated using token price feeds.
-
nextPageCursor
,string
- Cursor used for paginating to the next page of results.