Wallet API

Get Product Details#

When the user has selected a specific investment product (i.e., investmentId has been obtained), use this endpoint to retrieve the full product information, including APY breakdown, underlying assets, and whether subscribe/redeem/claim operations are supported. This information is used to display product details to the user and to determine which subsequent operations are available.

URL: GET /api/v6/defi/product/detail

Request Parameters#

FieldTypeRequiredExplanation
investmentIdStringYesInvestment product ID

Response Parameters#

FieldTypeExplanation
investmentIdStringInvestment product ID
investmentNameStringInvestment product name
platformNameStringProtocol name
platformLogoStringProtocol logo
investTypeIntegerInvestment type
chainIndexStringChain ID string
networkStringNetwork name
rateStringYield rate
tvlStringTVL
feeRateStringFee rate
isSupportClaimBooleanWhether claim is supported
isInvestableBooleanWhether investable
isSupportRedeemBooleanWhether redemption is supported
analysisPlatformIdStringProtocol ID
subscriptionMethodIntegerSubscription method
redeemMethodIntegerRedemption method
underlyingTokenArrayUnderlying asset tokens
> tokenSymbolStringToken symbol
> tokenAddressStringContract address
> chainIndexStringChain ID
> tokenPrecisionIntegerPrecision
> tokenLogoStringLogo
aboutTokenArrayRelated tokens
> tokenSymbolStringToken symbol
> tokenAddressStringContract address
> chainIndexStringChain ID
> tokenPrecisionIntegerPrecision
> tokenLogoStringLogo
> marketCapStringMarket cap
> priceStringPrice
rateDetailsArrayYield rate details
qaListArrayQ&A list

Response Example#

Aave V3 USDC (Ethereum, investmentId=9502)

Json
{
    "code": 0,
    "msg": "",
    "data": {
        "investmentId": 9502,
        "investmentName": "USDC",
        "platformName": "Aave V3",
        "platformLogo": "https://static.coinall.ltd/cdn/web3/protocol/logo/aave-v3.png/type=png_350_0?v=1774409445039",
        "investType": 1,
        "tvl": "3423591587.48413",
        "rate": "0.02140",
        "rateType": 0,
        "rateTypeDesc": "APY",
        "network": "Ethereum",
        "networkLogo": "https://static.coinall.ltd/cdn/wallet/logo/ETH-20220328.png",
        "underlyingToken": [
            {
                "tokenSymbol": "USDC",
                "tokenLogo": "https://static.coinall.ltd/cdn/wallet/logo/USDC.png",
                "tokenAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
                "isBaseToken": false
            }
        ],
        "rateDetails": [
            {
                "tokenAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
                "tokenSymbol": "USDC",
                "rate": "0.0214",
                "title": "Supply APY",
                "type": 1
            }
        ],
        "aboutToken": [
            {
                "tokenSymbol": "USDC",
                "tokenLogo": "https://static.coinall.ltd/cdn/wallet/logo/USDC.png",
                "tokenAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
                "isBaseToken": false,
                "marketCap": "55468602892.82830569743700036",
                "price": "0.99988"
            }
        ],
        "isSupportClaim": false,
        "isInvestable": true,
        "isSupportRedeem": true,
        "analysisPlatformId": "10",
        "chainIndex": "1",
        "detailPath": "aave-v3-ethereum-usdc-9502",
        "platformUrl": "https://app.aave.com",
        "utilizationRate": "0.755200",
        "hasRateChart": true,
        "hasTvlChart": false
    }
}