Binance Web3 DeFi API 本期支持 10 条 EVM 链——BNB Smart Chain、Ethereum、Base、Arbitrum One、Polygon、Optimism、Avalanche C-Chain、Robinhood、Katana、ARC——后续将支持更多链与协议。
支持的链
| # | 链 | 简称 | Chain ID | 原生币 |
|---|---|---|---|---|
| 1 | BNB Smart Chain | BSC | 56 | BNB |
| 2 | Ethereum | ETH | 1 | ETH |
| 3 | Base | BASE | 8453 | ETH |
| 4 | Robinhood | Robinhood | 4663 | ETH |
| 5 | Arbitrum One | ARB | 42161 | ETH |
| 6 | Polygon | POL | 137 | POL |
| 7 | Optimism | OP | 10 | ETH |
| 8 | Avalanche C-Chain | AVAX | 43114 | AVAX |
| 9 | Katana | KATANA | 747474 | ETH |
| 10 | ARC | ARC | 5042 | ETH |
支持的协议
以下协议在各自 支持的链
列所列链上支持协议数据查询(协议 / 投资品发现)与交易构建。每个协议可能提供一种或多种投资类型(Earn、LiquidityPool);同一
defiProtocolId 在其全部支持链上标识同一协议。
持仓查询(
POST /api/v1/defi/data/position/list)覆盖的协议更多,见下方持仓覆盖范围。
| 协议 | defiProtocolId | 支持的链 | 投资类型 | 交易构建 |
|---|---|---|---|---|
| Venus | venus | BNB Smart Chain | Earn | deposit / redeem / claim |
| Venus Flux | venusflux | BNB Smart Chain | Earn | deposit / redeem |
| Lista DAO | helio | BNB Smart Chain、Ethereum | Earn | deposit / redeem |
| Aave V3 | aave3 | BNB Smart Chain、Ethereum、Base、Arbitrum One、Polygon、Optimism、Avalanche C-Chain | Earn | deposit / redeem |
| Aave V4 | aave4 | Ethereum | Earn | deposit / redeem |
| Aster | astherus | BNB Smart Chain | Earn | deposit / redeem / claim |
| Solv | solv | BNB Smart Chain | Earn | deposit / redeem / claim |
| Morpho | morphoblue | Ethereum、Base、Arbitrum One、Robinhood、Katana、ARC | Earn | deposit / redeem |
| Spark | spark | Ethereum | Earn | deposit / redeem |
| Fluid | fluid | Ethereum、Base、Arbitrum One | Earn | deposit / redeem |
| Ethena | ethena | Ethereum | Earn | deposit / redeem |
| Nest Credit | nestcredit | BNB Smart Chain、Ethereum | Earn | deposit / redeem |
| Treehouse | treehouse | Ethereum | Earn | deposit / redeem |
| Renzo | renzo | Ethereum | Earn | deposit / redeem |
| Rocket Pool | rocketpool | Ethereum | Earn | deposit / redeem |
| Lido | lido | Ethereum | Earn | deposit / redeem |
| Maple | maple | Ethereum | Earn | deposit / redeem |
| Uniswap V3 | uniswap3 | BNB Smart Chain、Ethereum、Base、Arbitrum One、Polygon、Optimism、Avalanche C-Chain、Robinhood、ARC | LiquidityPool | lp-add / lp-remove / claim |
| Uniswap V4 | uniswap4 | BNB Smart Chain、Ethereum、Base、Robinhood、ARC | LiquidityPool | lp-add / lp-remove / claim |
| PancakeSwap V3 | pancakeswap3 | BNB Smart Chain、Base、Arbitrum One、Ethereum | LiquidityPool | lp-add / lp-remove / claim |
| PancakeSwap Infinity | pancakeswap4 | BNB Smart Chain | LiquidityPool | lp-add / lp-remove / claim |
| QuickSwap V3 | quickswap3 | Polygon | LiquidityPool | lp-add / lp-remove / claim |
上表为本期支持的全量范围;请始终通过
POST /api/v1/defi/data/protocol/list获取权威、最新的列表(服务端动态配置,可能变更)。同一defiProtocolId在其全部支持链上标识同一协议,传目标binanceChainId即可将查询限定到单链。同一协议在不同链上支持的交易动作可能不同(某条链没有奖励就没有claim);每条链的权威动作集合以protocol/list返回为准。
持仓覆盖范围
持仓查询(POST /api/v1/defi/data/position/list)在支持链上覆盖以下协议——比上面的交易 / 投资品清单更宽。
| 协议 | defiProtocolId | 支持的链 |
|---|---|---|
| Venus | venus | BNB Smart Chain |
| Venus Flux | venusflux | BNB Smart Chain |
| Lista DAO | helio | BNB Smart Chain、Ethereum |
| Aave V3 | aave3 | BNB Smart Chain、Ethereum、Base、Arbitrum One、Polygon、Optimism、Avalanche C-Chain |
| Aave V4 | aave4 | Ethereum |
| Aster | astherus | BNB Smart Chain |
| Solv | solv | BNB Smart Chain |
| Morpho | morphoblue | Ethereum、Base、Arbitrum One、Robinhood、Katana、ARC |
| Spark | spark | Ethereum |
| Fluid | fluid | Ethereum、Base、Arbitrum One |
| Sky | sky | Ethereum |
| Ethena | ethena | Ethereum |
| Nest Credit | nestcredit | BNB Smart Chain、Ethereum |
| Treehouse | treehouse | Ethereum |
| Renzo | renzo | Ethereum |
| Rocket Pool | rocketpool | Ethereum |
| Lido | lido | Ethereum |
| Maple | maple | Ethereum |
| ether.fi | etherfi | Ethereum |
| USDD | usdd | Ethereum |
| Compound V3 | compound3 | Ethereum、Base、Arbitrum One、Polygon、Optimism |
| Uniswap V2 | uniswap2 | BNB Smart Chain、Ethereum、Base、Arbitrum One、Polygon、Optimism、Avalanche C-Chain |
| Uniswap V3 | uniswap3 | BNB Smart Chain、Ethereum、Base、Arbitrum One、Polygon、Optimism、Avalanche C-Chain、Robinhood、ARC |
| Uniswap V4 | uniswap4 | BNB Smart Chain、Ethereum、Base、Robinhood、ARC |
| PancakeSwap V2 | pancakeswap | BNB Smart Chain |
| PancakeSwap V3 | pancakeswap3 | BNB Smart Chain、Base、Arbitrum One、Ethereum、Robinhood |
| PancakeSwap Infinity | pancakeswap4 | BNB Smart Chain |
| QuickSwap | quickswap | Polygon |
| QuickSwap V3 | quickswap3 | Polygon |
| Stader | stader | Ethereum、Polygon |
| Ondo | ondo | BNB Smart Chain、Ethereum |
| Lorenzo Protocol | lorenzoprotocol | BNB Smart Chain |
| Unitas | unitas | BNB Smart Chain |
| Saturn Credit | saturncredit | Ethereum |
| APYX Finance | apyxfi | Ethereum |
| CIAN | cian | Ethereum |
| Frax | frax | Ethereum |
| Ember (Bitwise) | emberso | Ethereum |
| Re | rexyz | Ethereum |
| BENQI | benqi | Avalanche C-Chain |
| Pendle V2 | pendle2 | Ethereum、Arbitrum One |
| USDAI | usdai | Arbitrum One |
集成时注意区分:
- 协议在上面的交易 / 投资品清单内的持仓带有有效的
investmentIds,可以继续走投资品查询和交易构建; - 协议仅在本持仓清单内的持仓仅用于展示——其
investmentIds可能为空,也不支持发起交易。不要假设每个返回的持仓都能作为交易的入口。
判断 investmentIds 是否有效的唯一标准:拿它去调 POST /api/v1/defi/data/investment/list(或
/investment/detail),能查到才是有效投资品。持仓返回里即使带了
investmentIds,只要在投资品查询中查不到,就是无效的——不能用于交易构建,调用交易接口会失败。
本期限制
- 赎回等待期:部分协议(如 Lista
helio、Asterastherus)赎回后需等待一段时间资金才可领取。构建响应以data.redeemDelayDays返回([min, max]天数对,[]表示即时)——每次调用/transaction/redeem都读取它。见集成流程。 - 上文所列链与协议为本期开放范围;新链与新协议随服务端支持逐步放开,发版后请重新核对本页。
相关接口
| 接口 | 用途 |
|---|---|
POST /api/v1/defi/data/position/list | 查询持仓 |
POST /api/v1/defi/data/protocol/list | 获取支持的协议列表(权威、实时) |
POST /api/v1/defi/data/protocol/detail | 协议详情(安全评分、团队、FAQ) |
POST /api/v1/defi/data/investment/list | 获取协议下可投投资品 |
POST /api/v1/defi/data/investment/detail | 投资品详情(APY、代币、池地址) |