Post
Topic
Board Announcements (Altcoins)
Re: [ANN][EGC] EverGreenCoin | X15 PoW/PoS | NO premine / NO ICO | Foundation
by
EverGreenCoin
on 03/02/2016, 17:59:25 UTC
hi all,
i try get data from jsonrpc, i send this
{"jsonrpc":"1.0","method":"getbalance ESeAJTUbTpKyQVoCsPivGsrCPfBDKTxmkC","id":1}
and i get
 [Error: failed [404] {"result":null,"error":{"code":-32601,"message":"Method not found"},"id":1} ]
but i send this
{"jsonrpc":"1.0","method":"getbalance","id":1}
and i get 0.20000000. this is true.

thanks for response.



Perhaps you are looking for getreceivedbyaddress ESeAJTUbTpKyQVoCsPivGsrCPfBDKTxmkC ?

yes, console evergreencoin-qt is working
getreceivedbyaddress ESeAJTUbTpKyQVoCsPivGsrCPfBDKTxmkC i get 10.01000000
but in js
i send  {"method":"getreceivedbyaddress EJyyhNhfvL3XfTh9VerW9h5qCL5SPtTqbn","id":1}
[Error: failed [404] {"result":null,"error":{"code":-32601,"message":"Method not found"},"id":1} ]


Solved i need send json, this format
{"method":"getreceivedbyaddress","params":["ESeAJTUbTpKyQVoCsPivGsrCPfBDKTxmkC"],"id":1}

Ah! Glad I could help get you in the right direction. Wink