v1

latestOpenAPI 3.1.02026-07-26360335.7 KB

Retrieve Account DeFi

Return account‘s DeFi portfolio with any given top protocols on Sui Network

get/sui/account/defiPortfolio

Query parameters

addressstring required

account address

protocol'aftermath' | 'alphafi' | 'alphalend' | 'bluefin' | 'bluemove' | 'bucket' | 'cetus' | 'flowx' | 'haedal' | 'kai' | 'momentum' | 'navi' | 'scallop' | 'steamm' | 'suilend' | 'suistake' | 'turbos' | 'typus' | 'unihouse' | 'walrus' | 'ember' | 'magma' | 'ferra' | 'suins-staking' | 'r25' | 'bucket2' required

DeFi protocol (eg "cetus" or "navi").

Response

200

codeinteger
messagestring

Example response

{
  "code": 200,
  "message": "Success",
  "result": {
    "navi": [
      {
        "balance": 1485,
        "coinType": "0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN",
        "decimals": 9,
        "symbol": "USDC",
        "type": "Supply"
      }
    ]
  }
}