TokenResp
tokenAddressToken contract address. The native-asset sentinel 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee (40 es) for native coins.
tokenNameToken name.
tokenSymbolToken symbol.
tokenAmountHuman-readable token amount (NOT the smallest unit).
tokenPriceCurrent token price in USD.
tokenValueToken value in USD (amount × price).
tokenDecimalsToken decimals (string).
PositionResp
positionIdUnique position identifier (64-char hex, no 0x prefix).
underlyingAssetNameDisplay name of the underlying asset (e.g. "USDT-USDC", "lisUSD").
underlyingAssetIdUnderlying asset identifier (64-char hex, no 0x prefix). Hashed from the pool and underlying token addresses.
assetTypeAsset structure type. Null for a regular position; locked for a locked position (e.g. locked staking — check unlockTime on positionDetail); farming for a MasterChef-style farming position (rewards accrue under the farming_reward token group).
investmentIdsRelated investment IDs (64-char hex, no 0x prefix). Use with POST /api/v1/defi/data/investment/detail. Usually a single entry; a position can relate to several investments when the pool stacks products on top of each other (e.g. a farming position wraps the underlying LP investment plus its incentive product, or a staked vault layers a receipt token over the base deposit). When there are several, query each with investment/detail and pick by the action you want to perform — redeeming the principal uses the base investment, claiming farming incentives uses the incentive one.
positionDetailPosition-level metadata. Present for concentrated-liquidity / locked / farming positions; null otherwise. Fields are null when not applicable to the position type.
positionValueTotal position value in USD (sum of all token values; may be negative for borrow positions).
Token breakdown grouped by role. Keys: supply (supplied assets), borrow (borrowed assets, lending positions), reward (claimable rewards), farming_reward (MasterChef farming incentives). A key is absent when the position has no tokens in that role.
PositionCollectionResp
positionCollectionIdCollection unique identifier (64-char hex, no 0x prefix).
positionCollectionDetailCollection metadata. Null when the collection has no metadata. Fields are null when not applicable.
positionCollectionTotalValueTotal value of all positions in this collection (USD).
List of positions in this collection.
PoolResp
bnPoolIdPool identifier (0x + 64-char hex).
poolCaPool contract address.
poolTypePool type. Complete value set: Lending (supply/borrow market), Staked (native staking), Yield (yield vault / receipt token), Deposit (fixed deposit), Rewards (reward claims, e.g. PancakeSwap Infinity), Liquidity Pool (AMM / concentrated liquidity), Farming (MasterChef farming), Locked (locked staking with unlock time), Vesting (vesting schedule). Treat unknown values as generic display.
poolDetailPool-level metadata. Fields are null when not applicable to the pool type (e.g. tickSpacing/hooks only for concentrated-liquidity pools).
ProtocolResp
binanceChainIdBinance chain ID (e.g. "56"=BSC).
defiProtocolIdProtocol identifier consistent with POST /api/v1/defi/data/protocol/list. Use this value when calling investment/list, transaction endpoints, etc.
protocolNameProtocol display name.
protocolTotalValueTotal position value in this protocol (USD).
Pools with positions in this protocol.
AddressResp
addressWallet address.
addressTotalValueTotal DeFi position value of this address across all chains (USD). Same raw precision as the position values.
Protocol-level position summaries of this address.
PositionListResp
totalValueTotal value of all DeFi positions of all queried addresses (USD). Same raw precision as addressTotalValue.
Address-level position summaries.
DefiProtocolDto
defiProtocolIdDeFi protocol identifier.
protocolNameProtocol display name.
protocolLogoProtocol logo image URL (full URL; quote as-is).
tvlTotal value locked in the protocol (USD). String, raw precision from the data source.
apyBpsHighest APY across the protocol's investments, in basis points (1 bps = 0.01%). Integer value — use this for sorting / comparing / filtering, never the raw decimal.
apyDisplayPre-formatted, human-readable APY string for display (e.g. "12.35%"). Quote as-is; do not re-compute or transform.
investTypeInvestment types supported by this protocol — an array here (a protocol may support several). Note: the investment-level investType (in investment list/detail) is a single string. Known values: Earn, LiquidityPool.
supportedChainsSupported Binance chain IDs.
DefiProtocolSocialLinksDto
xX (Twitter) profile URL. Null when not available.
discordDiscord invite URL. Null when not available.
githubGitHub organization URL. Null when not available.
linkedinLinkedIn company URL. Null when not available.
telegramTelegram channel URL. Null when not available.
gitbookGitBook documentation URL. Empty string or null when not available.
websiteOfficial website URL.
DefiProtocolTeamMemberDto
nameMember name.
roleMember role / title.
twitterMember's X (Twitter) handle URL. Null when not available.
linkedinMember's LinkedIn URL. Null when not available.
bioMember biography. Null when not available.
DefiProtocolFundRaisingDto
roundRound name (e.g. "Strategic").
amountAmount raised. Null when not disclosed.
dateRound date.
investorsInvestor names.
DefiProtocolDimensionScoresDto
codeSecurityCode security score.
fundamentalHealthFundamental health score.
operationalResilienceOperational resilience score.
communityTrustCommunity trust score.
governanceStrengthGovernance strength score.
marketStabilityMarket stability score.
DefiProtocolFaqDto
titleFAQ question text (already translated; quote as-is).
answerFAQ answer text (already translated; quote as-is). May contain line-break markup <Br/> and paragraph-gap markup <Gap/> — interpret them as line / paragraph breaks.
DefiProtocolInfoDto
defiProtocolIdDeFi protocol identifier.
protocolNameProtocol display name.
protocolLogoProtocol logo image URL (full URL under https://bin.bnbstatic.com).
descriptionProtocol description (already translated; quote as-is).
websiteUrlOfficial website URL.
investTypeInvestment types supported by this protocol — an array here (a protocol may support several). Note: the investment-level investType (in investment list/detail) is a single string. Known values: Earn, LiquidityPool.
supportedChainsSupported Binance chain IDs.
tvlTotal value locked (USD). String, raw precision from the data source.
tagsProtocol tags / categories.
foundedFounding year (YYYY).
fdvFully diluted valuation.
totalFundingTotal funding raised. Null when not disclosed.
Protocol social media links.
Team members.
Fundraising history.
securityScoreOverall CertiK security score.
CertiK six-dimension security scores.
highlightsProtocol highlights (already translated; quote as-is).
FAQ entries (question and answer text, already translated).
DefiInvestmentDto
binanceChainIdBinance chain ID.
defiProtocolIdParent DeFi protocol identifier.
protocolNameProtocol display name.
investmentIdInvestment product identifier (64-char hex, no 0x prefix). Same format as the investmentIds returned by POST /api/v1/defi/data/position/list and accepted by the transaction build endpoints.
investmentNameInvestment display name.
investTypeInvestment type of this product — a single string here (each product has exactly one). Note: the protocol-level investType (in protocol list/detail) is an array. Known values: Earn, LiquidityPool.
apyTypeRate yield type. Known values: APY, APR.
apyBpsAnnual percentage yield in basis points (1 bps = 0.01%). Integer value — use this for sorting / comparing / filtering, never the raw decimal.
apyDisplayPre-formatted, human-readable APY string for display (e.g. "1,562.65%"). Quote as-is; do not re-compute or transform.
tvlTotal value locked in this investment (USD). String, raw precision from the data source.
DefiInvestmentTokenDto
tokenAddressToken contract address. The native-asset sentinel for native coins.
tokenNameToken name.
tokenSymbolToken symbol.
DefiInvestmentInfoDto
binanceChainIdBinance chain ID.
defiProtocolIdParent DeFi protocol identifier.
protocolNameProtocol display name.
protocolLogoProtocol logo image URL (full URL; quote as-is).
investmentIdInvestment product identifier (64-char hex, no 0x prefix). Same format as the investmentIds returned by POST /api/v1/defi/data/position/list and accepted by the transaction build endpoints.
investmentNameInvestment display name.
investTypeInvestment type of this product — a single string here (each product has exactly one). Note: the protocol-level investType (in protocol list/detail) is an array. Known values: Earn, LiquidityPool.
investableWhether this investment is currently investable.
apyBpsAnnual percentage yield in basis points (1 bps = 0.01%). Integer value — use this for sorting / comparing / filtering, never the raw decimal.
apyDisplayPre-formatted, human-readable APY string for display (e.g. "1,562.65%"). Quote as-is; do not re-compute or transform.
apyTypeRate yield type. Known values: APY, APR.
tvlTotal value locked (USD). String, raw precision from the data source.
poolAddressPool / strategy contract address.
feeRateFee rate string (e.g. "0.001" = 0.1%).
Tokens to supply / deposit.
Reward tokens.
LP tokens (for liquidity positions).
Borrow tokens (for lending borrow positions).
ProtocolPageResult
pageCurrent page number (1-based).
sizePage size.
totalTotal number of records.
Protocols for the current page.
InvestmentPageResult
pageCurrent page number (1-based).
sizePage size.
totalTotal number of records.
Investments for the current page.
DefiTokenItem
tokenAddressToken contract address; the native-asset sentinel for the native coin.
amountHuman-readable amount as a decimal string, e.g. "1.5", "100".
DefiClaimType
Claim routing type. Determines which companion fields are required:
REWARD_PROTOCOL: protocol-level rewards (e.g. Aave incentive, Radiant) — requiresdefiProtocolId+binanceChainIdREWARD_INVESTMENT: per-investment rewards — requiresinvestmentIdLP_FEE: Uniswap V3/V4 LP fees — requiresinvestmentId+nftIdREDEMPTION: redeem principal (Lista / Aster / Solv etc.) — requiresinvestmentId+redemptionId
Protocol constraints — not every claimType is valid for every protocol; an invalid
combination is rejected (40453 or 40454):
REWARD_PROTOCOLis not supported for LP (liquidity-pool) protocols in this release.REWARD_INVESTMENTis not supported for PancakeSwap V3 farming positions; useLP_FEEto claim farming incentives there.LP_FEEapplies only to concentrated-liquidity (V3/V4) LP positions.REDEMPTIONapplies only to protocols with a redemption / lock-up flow (Lista, Aster, Solv).
The valid claimTypes for a specific position are returned in that position's
positionDetail.claimTypes (see the position list) — branch on that rather than hard-coding
the mapping. Note: error messages may surface the protocol id with a chain prefix
(e.g. bsc_pancakeswap4); the canonical id in API fields is the un-prefixed form
(e.g. pancakeswap4).
DefiCallDataItem
callDataTypeAction kind of this item:
APPROVE— ERC-20 approval, must be signed/broadcast and confirmed before the main actionDEPOSIT/REDEEM/LP_ADD/LP_REMOVE/CLAIM— the main action.LP_ADD/LP_REMOVEare the LP add / remove legs (the same build path as deposit / redeem for liquidity-pool investments; the kind reflects the on-chain action, not the entry endpoint).
fromUser wallet address (the signer / sender). EIP-55 checksummed — normalize with to_checksum_address before signing if your signer requires it.
toTarget contract address. EIP-55 checksummed, same format as from. Non-null on BSC for every action item.
valueNative-asset value as a 0x-prefixed hex string. Non-null on BSC for action items.
dataSerialized transaction data, as a 0x-prefixed hex calldata string.
gasLimitSuggested gas limit (decimal string). null when estimation fails.
gasPriceLegacy gas price, decimal string. null on EIP-1559 chains such as BSC (use maxFeePerGas / maxPriorityFeePerGas instead).
maxPriorityFeePerGasEIP-1559 priority fee in wei (decimal string). null on non-1559 chains.
maxFeePerGasEIP-1559 max fee per gas in wei (decimal string). null on non-1559 chains.
DefiPreview
successWhether the simulated transaction is expected to succeed on-chain.
Signed token balance deltas from the simulation. Each entry has tokenType, tokenSymbol, tokenAddress, tokenDecimals, amount (positive = received, negative = spent), valueUsd, and an optional tokenId.
Estimated network fee and the contract the action interacts with. Contains estimatedNetworkFee and interactWith.
Lending health-factor change. Contains before / after values for lending protocols (e.g. Aave / Venus); null for non-lending protocols or when health factor is unavailable.
Non-blocking risk warnings. Empty array when there are no warnings.
errorMessageError message when the simulated transaction is expected to fail.
DefiTxResponse
Ordered unsigned transactions; APPROVE precedes the main action.
Simulation result returned by the build endpoints when simulate=true. Includes whether the action is expected to succeed, the projected balance change, the estimated network fee, and — for lending protocols — the health-factor change. balanceChange, feeAndContract, healthFactor, and warnings each have a fixed structure (see below); the number of entries and some inner values vary by protocol.
redeemDelayDaysRedeem waiting period as a [min, max] day pair of decimal strings. Populated only by /transaction/redeem; null on the other build endpoints or when unavailable. Interpretation: [] (empty) = instant, no waiting period; ["7","7"] = fixed 7 days; ["7","10"] = 7–10 days. The wait starts after the redeem transaction is confirmed on-chain.
LpAddCalculateResponse
inputTokenAmountEcho of the input token amount (human-readable).
pairedTokenAddressThe paired token contract address derived from the investment.
pairedTokenAmountCalculated paired token amount (human-readable).
B402ApiErrorEnvelope
statustypecodeerrorDatadatasubDataparamsB402PaymentKindExtraV2
nameversionassetTransferMethodsignerAddressspenderAddressB402PaymentKindV2
x402VersionschemenetworkB402SupportedDataV2
extensionsB402SupportedResponseV2
statustypecodeerrorDatasubDataparamsB402ResourceInfoV2
urldescriptionmimeTypeB402PaymentRequirementsExtraV2
nameversionassetTransferMethodsignerAddressspenderAddressB402PaymentRequirementsV2
schemenetworkamount^[0-9]+$ · requiredassetpayTomaxTimeoutSecondsB402Eip3009Authorization
fromtovaluevalidAftervalidBeforenonceB402Permit2Permitted
tokenamountB402Permit2Witness
tovalidAfterfacilitatorB402Permit2Authorization
fromspendernoncedeadlineB402BazaarExtension
routeTemplatedescriptionB402PaymentPayloadV2
x402VersionB402VerifyRequestV2
x402VersionB402VerifyDataV2
isValidpayerinvalidReasoninvalidMessageB402VerifyResponseV2
statustypecodeerrorDatasubDataparamsB402SettleRequestV2
x402VersionsettleAmount^[0-9]+$B402SettleDataV2
successtransactionnetworkpayeramounterrorReasonerrorMessageB402SettleResponseV2
statustypecodeerrorDatasubDataparamsB402PaymentKindExtraV1
nameversionassetTransferMethodfacilitatorAddressB402PaymentKindV1
x402VersionschemenetworkB402SupportedDataV1
extensionsB402SupportedResponseV1
statustypecodeerrorDatasubDataparamsB402PaymentRequirementsV1
schemenetworkamountpayToassetmaxTimeoutSecondsresourcedescriptionmimeTypeB402PaymentPayloadV1
x402VersionschemenetworkB402VerifyRequestV1
x402VersionB402VerifyResponseV1
statustypecodeerrorDatasubDataparamsB402SettleRequestV1
x402VersionsettleAmount^[0-9]+$B402SettleDataV1
successtransactionpayernetworkamountconfirmationserrorReasonerrorMessage