如何获得给定地址的总质押 EGLD?

How to get the total staked EGLD for a given address?

以下端点

https://api.elrond.com/accounts/{address}/stake

例如:

https://api.elrond.com/accounts/erd1hw78kxyj353x52hmmq6dzxgexynwt4m29q2uvpq6xdm90z3halvsl7cn6g/stake

returns

{"totalStaked":"0"}

但给定地址的质押总额不为 0。

是否有 API 端点 returns 真正的质押值?

来自delegation-api.elrond.com,尝试:

https://delegation-api.elrond.com/accounts/{address}/delegations

例如:

https://delegation-api.elrond.com/accounts/erd1hw78kxyj353x52hmmq6dzxgexynwt4m29q2uvpq6xdm90z3halvsl7cn6g/delegations

哪个returns

[
   {
      "address":"erd1hw78kxyj353x52hmmq6dzxgexynwt4m29q2uvpq6xdm90z3halvsl7cn6g",
      "contract":"erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqq8hlllls7a6h85",
      "userUnBondable":"0",
      "userActiveStake":"1114814108508273514",
      "claimableRewards":"3162326474680405",
      "userUndelegatedList":[
         
      ]
   }
]

字段 "userActiveStake":"1114814108508273514" 显示赌注值 (1.1148 EGLD)。