Skip to content

Raptoreum RPC Commands

Documentation for Raptoreum Raptoreum RPC calls.


coinjoin

Available commands:

Arguments

Position Name Type Required Default Description

getcoinjoininfo

Result (for regular nodes):

Arguments

No arguments.

Examples

 raptoreum-cli getcoinjoininfo
 curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getcoinjoininfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:10225/


getgovernanceinfo

{ (json object)

Arguments

No arguments.

Result

{                               (json object)
  "governanceminquorum" : n,    (numeric) the absolute minimum number of votes needed to trigger a governance action
  "proposalfee" : n,            (numeric) the collateral transaction fee which must be paid to create a proposal in RTM
  "superblockcycle" : n,        (numeric) the number of blocks between superblocks
  "lastsuperblock" : n,         (numeric) the block number of the last superblock
  "nextsuperblock" : n          (numeric) the block number of the next superblock
}

Examples

 raptoreum-cli getgovernanceinfo
 curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getgovernanceinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:10225/


getpoolinfo

Arguments

No arguments.


getsuperblockbudget

Returns the absolute maximum sum of superblock payments allowed.

Arguments

Position Name Type Required Default Description

Result

n    (numeric) The absolute maximum sum of superblock payments allowed, in RTM

Examples

 raptoreum-cli getsuperblockbudget 1000
 curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getsuperblockbudget", "params": [1000] }' -H 'content-type: text/plain;' http://127.0.0.1:10225/


gobject

Available commands:

Arguments

No arguments.


mnsync

  1. "mode" (string, required) [status|next|reset]

Arguments

Position Name Type Required Default Description

smartnode

Available commands:

Arguments

Position Name Type Required Default Description

spork

Shows information about current state of sporks

Arguments

Position Name Type Required Default Description

Examples

 raptoreum-cli spork show
 curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "spork", "params": ["show"] }' -H 'content-type: text/plain;' http://127.0.0.1:10225/


voteraw

  1. "mn-collateral-tx-hash" (string, required)

Arguments

Position Name Type Required Default Description