GetStakeUtxo
Query stake UTXO
Parameter​
- fromAddr: stake address
{
"id":"1",
"jsonrpc":"2.0",
"params":{"fromAddr":"0x5c8bf650F93d82A7131C2FeA01Ec2bFB3C61A03B"}
}
Response​
- code
- 0 success
- -1 fromAddr not stake!
- message: Return information (see the error return information corresponding to the code for details)
- utxo: UTXO during stake
- value: The amount at the time of stake
{
"id": "1",
"jsonrpc": "2.0",
"method": "GetAllStakeNodeList",
"result": {
"code": 0,
"message": "",
"utxos": {
"827022b125d2b60e9ed40a1e7bfa6874b90bb6dbccd515824cb353f0ab3397c6": 100000000000
}
}
}
Example​
curl http://localhost:41517/GetAllStakeNodeList -X POST -H "Content-Type: application/json" -d '
{
"id":"1",
"jsonrpc":"2.0",
"params":{"fromAddr":"0x5c8bf650F93d82A7131C2FeA01Ec2bFB3C61A03B"}
}
'