Friday, November 22, 2024

json rpc – The way to make rpc name to personal node and get steadiness

I’ve arrange personal dogecoin node on Debian 12 after which tried to get pockets steadiness by making rpc name. However it returns zero steadiness.

$ curl --user consumer:password --data-binary '{"jsonrpc": "1.0", "id": "curltest", "technique": "getreceivedbyaddress", "params": ["DD1tnM26EfwwKNj5dMZdVUj29neurqHCTz"]}' -H 'content-type: textual content/plain;' http://127.0.0.1:22555/
{"end result":0.00000000,"error":null,"id":"curltest"}

Appears node working tremendous as a result of requesting blockhash working tremendous.

$ curl --user:password --data-binary '{"jsonrpc": "1.0", "id": "curltest", "technique": "getblockchaininfo", "params": []}' -H 'content-type: textual content/plain;' http://127.0.0.1:22555/
{"end result":{"chain":"fundamental","blocks":5275196,"headers":5275196,"bestblockhash":"5bff56f1eb8831f8f5ece147e436d46db0eea732b263234742041d253411b4e6","issue":18244940.52005376,"mediantime":1719764541,"verificationprogress":0.9999981932824057,"initialblockdownload":false,"chainwork":"0000000000000000000000000000000000000000000011ba0f031716ce4db83e","size_on_disk":162220552402,"pruned":false,"softforks":[{"id":"bip34","version":2,"reject":{"status":true}},{"id":"bip66","version":3,"reject":{"status":true}},{"id":"bip65","version":4,"reject":{"status":true}}],"bip9_softforks":{"csv":{"standing":"failed","startTime":1462060800,"timeout":1493596800,"since":1703520}},"warnings":""},"error":null,"id":"curltest"}

Positive i attempted different dogecoin addresses with recognized balances however getting similar zero return.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles