• Resolved collett21

    (@collett21)


    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 – 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?

    • This topic was modified 3 years, 10 months ago by collett21.
    • This topic was modified 3 years, 10 months ago by collett21.
    • This topic was modified 3 years, 10 months ago by collett21.
    • This topic was modified 3 years, 10 months ago by collett21.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘JSON RPC Query’ is closed to new replies.