getlastsegidstakes - Spacecoin RPC Docs


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:
> spacecoin-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:35593/


Learn more about spacecoin at spacecoin.network.
Docs generated by spacecoin v0.6.1.
Find this github repo at spacecoinSPACE/spacecoin-rpc-docs.

Spacecoin Logo



Auction











Lotto