To start wallet JSON RPC API server you should specify a port on which server binds (additionally to standard wallet's arguments). You can choose any free port. To do that execute the following command from the command line:
./simplewallet --wallet-file <wallet-file> --password <password> --rpc-bind-ip <ip-address> --rpc-bind-port <port> --rpc-user <username> --rpc-password <password>
By default ip-address is the loopback IP 127.0.0.1, which makes the service available only for local requests. Default port is 8070, but it can be manually binded to any port you want.
For example, to make the service available for all IP on the machine listening on port 9000, you would use:
./simplewallet --wallet-file my_wallet --password 12345 --rpc-bind-ip 0.0.0.0 --rpc-bind-port 9000 --rpc-user rpcuser --rpc-password [email protected]
The --password value is the password set when generating wallet. The pair rpc-user and rpc-password are the credentials you will require for any API request received by your RPC wallet.
To make a JSON PRC request to your Niobio Cash RPC Wallet you should use POST request that looks like this:
The following methods are available in Niobio Cash RPC wallet:
Click on method name to see details.