Control
The following RPC calls interact with the `Indexchain` software, and are made available through the software.
getnotarysendmany
getnotarysendmany
The getnotarysendmany
method returns a sendmany JSON array with Raddresses of the current notaries.
Examples:
komodo-cli getnotarysendmany 10 curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnotarysendmany", "params": [10] }' -H 'content-type: text/plain;' http://127.0.0.1:7771/
getiguanajson
-->
getinfo
getinfo
The getinfo
method returns an object containing various state info.
Arguments
Name
Type
Description
(none)
Response
Name
Type
Description
"version"
(numeric)
the server version
"protocolversion"
(numeric)
the protocol version
"walletversion"
(numeric)
the wallet version
"balance"
(numeric)
the total balance of the wallet
"blocks"
(numeric)
the current number of blocks processed in the server
"timeoffset"
(numeric)
the time offset
"connections"
(numeric)
the number of connections
"proxy"
(string, optional)
the proxy used by the server
"difficulty"
(numeric)
the current difficulty
"testnet"
(boolean)
if the server is using testnet or not
"keypoololdest"
(numeric)
the timestamp (seconds since GMT epoch) of the oldest pre-generated key in the key pool
"keypoolsize"
(numeric)
how many new keys are pre-generated
"unlocked_until"
(numeric)
the timestamp in seconds since epoch (midnight Jan 1 1970 GMT) that the wallet is unlocked for transfers, or 0 if the wallet is locked
"paytxfee"
(numeric)
the transaction fee set in COIN/kB
"relayfee"
(numeric)
minimum relay fee for non-free transactions in COIN/kB
"errors"
(string)
any error messages
📌 Examples
Command:
<collapse-text hidden title="Response">
</collapse-text>
You can find your rpcuser
, rpcpassword
, and rpcport
in the coin's .conf
file.
Command:
<collapse-text hidden title="Response">
</collapse-text>
help
help ( "command" )
The help
method lists all commands, or all information for a specified command.
Arguments
Name
Type
Description
"command"
(string, optional)
the command requiring assistance
Response
Name
Type
Description
"command"
(string, optional)
the command requiring assistance
📌 Examples
Command:
<collapse-text hidden title="Response">
</collapse-text>
Command:
<collapse-text hidden title="Response">
</collapse-text>
stop
stop
The stop
method instructs the coin daemon to shut down.
The amount of time it takes to shut down the chain will vary depending on the chain's current state.
::: warning Forcefully stopping the chain should be avoided, as it may corrupt the local database. In the event of a corrupted database, the user will need to resync. :::
Arguments
Name
Type
Description
(none)
Response
Name
Type
Description
Indexchain server stopping
[COIN] Indexchain server stopping
📌 Examples
Command:
<collapse-text hidden title="Response">
</collapse-text>
You can find your rpcuser
, rpcpassword
, and rpcport
in the coin's .conf
file.
Command:
<collapse-text hidden title="Response">
</collapse-text>
Last updated
Was this helpful?