Get balance by account
account: (string)
account nameTotalAmount: (numeric)
Total amount, spend amount+ spendable amount + frozen amountSpendAmount: (numeric)
spent amount, already confirmedUnspendAmount: (numeric)
spendable amount, not including frozen amountConfirmAmount: (numeric)
frozen amount, waiting for conformationLockAmount: (numeric)
locked amount, waiting for unlock $ curl -sk -u "test:test" -X POST -H 'Content-Type: application/json' --data '{"jsonrpc":"1.0","method":"wallet_getBalanceByAccount","params":["test", "MEER"],"id":1}' http://127.0.0.1:8130/api |jq .
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"TotalAmount": 900000000,
"SpendAmount": 0,
"LockAmount": 0,
"UnspendAmount": 900000000,
"ConfirmAmount": 0
}
}
© Copyright Qitmeer 2021.
This work is licensed under a Creative Commons Attribution 4.0 International License