以下端点
https://api.elrond.com/accounts/{address}/stake
例如:
https://api.elrond.com/accounts/erd1hw78kxyj353x52hmmq6dzxgexynwt4m29q2uvpq6xdm90z3halvsl7cn6g/stake
返回
{"totalStaked":"0"}
但是给定地址的质押总数不同于 0。
是否有任何 API 端点可以返回真正的质押价值?
以下端点
https://api.elrond.com/accounts/{address}/stake
例如:
https://api.elrond.com/accounts/erd1hw78kxyj353x52hmmq6dzxgexynwt4m29q2uvpq6xdm90z3halvsl7cn6g/stake
返回
{"totalStaked":"0"}
但是给定地址的质押总数不同于 0。
是否有任何 API 端点可以返回真正的质押价值?
从delegation-api.elrond.com
,尝试:
https://delegation-api.elrond.com/accounts/{address}/delegations
例如:
返回
[
{
"address":"erd1hw78kxyj353x52hmmq6dzxgexynwt4m29q2uvpq6xdm90z3halvsl7cn6g",
"contract":"erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqq8hlllls7a6h85",
"userUnBondable":"0",
"userActiveStake":"1114814108508273514",
"claimableRewards":"3162326474680405",
"userUndelegatedList":[
]
}
]
该字段"userActiveStake":"1114814108508273514"
显示赌注值 ( 1.1148 EGLD
)。