• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

Beginner RPC Questions

sitara

New member
Hello! I am new to dash and currently experimenting with the JSON RPC of dashd, and I am having some problems

I am trying to get the balance of some random address i found on the blockexplorer ( XxEzYPRgzhZMcaPRsfwb3Py2orizHJwHXF )

with the RPC method "getBalance"

but i get the error:

500 Internal Server Error

when i try another call, like "getblock" with blockhash it works as expected.

do methods like getBalance only work for addresses i have im my wallet?
If so how would i go about creating my own blockexplorer?

generally is there documentation of the json rpc calls?

thanks all
 
If you add "addressindex=1" string into dash.conf and reindex blockchain, you'll be able to use "getaddressbalance" rpc on any address.
 
Back
Top