getlastsegidstakes - Komodo RPC

getlastsegidstakes depth

Returns object containing the counts of the last X blocks staked by each segid.

Arguments:
1. depth           (numeric, required) The amount of blocks to scan back.
Result:
{
  "0" : n,       (numeric) number of stakes from segid 0 in the last X blocks.
  .....
}

Examples:
> komodo-cli getlastsegidstakes 1000
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getlastsegidstakes", "params": [1000] }' -H 'content-type: text/plain;' http://127.0.0.1:7771/


Docs generated by komodo v0.6.1. You can find this github repo at github.com/komodo-rpc/komodo-rpc.github.io.




Auction











Lotto