Daemon HTTP RPC Commands
To start Daemon HTTP RPC API server you should specify a port on which server binds (additionally to standard daemon's arguments). You can choose any free port. To do that execute the following command from the command line:
./Qwertycoind --rpc-bind-port=8197
If you want Daemon to be accessed from other computer not only yours you should also use a --rpc-bind-ip 0.0.0.0
command. To do that execute the following command from the command line:
./Qwertycoind --rpc-bind-ip=0.0.0.0 --rpc-bind-port=8197
Inputing commands
You can input the commands into any browser but Firefox will give you the best interface for viewing. To begin type in the IP address or domain name of your daemon followed by the rpc port and one of the commands below.
http://ip_address:rpc_port/command
For example:
https://pool.qwertycoin.org:8197/getheight
The url above will display the current blockchain height.
Commands
getinfo
- returns information related to the network and daemon connection
getinfo
- returns information related to the network and daemon connectionExpected output
getheight
- returns the height of the daemon and the network
getheight
- returns the height of the daemon and the networkExpected output
gettransactions
- returns list of missed transactions
gettransactions
- returns list of missed transactionsExpected output
feeaddress
- returns the address to where the nodes fees are sent
feeaddress
- returns the address to where the nodes fees are sentExpected output
getpeers
- returns the list of peers connected to the daemon
getpeers
- returns the list of peers connected to the daemonExpected output
paymentid
- returns the paymentid of the node
paymentid
- returns the paymentid of the nodeExpected output
Last updated