JSON RPC Query
-
Hi,
I’m having issues implementing the following:
curl -X POST -k 'https://betanet.radixdlt.com/rpc' --header 'Content-Type: application/json' --data-raw '{ "id": "1", "method": "radix.lookupValidator", "params": [vb1qd5xxjztrxcc6ppw63yekch9yqm5jescru8naz9xhqg2aqc8ew8a6cffhhk] }'
I need this query to execute, and to then display the totalDelegatedStake value, with it updating everytime the website is refreshed – Is this possible?
I also may need to perform some simple math on the totalDelegatedStake (eg value divided by 4 etc). Is that possible too?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘JSON RPC Query’ is closed to new replies.