Wallet RPC Documentation

This is a list of the dinastycoin-wallet-rpc calls, their inputs and outputs, and examples of each. The program dinastycoin-wallet-rpc replaced the rpc interface that was in simplewallet and then dinastycoin-wallet-cli.

All dinastycoin-wallet-rpc methods use the same JSON RPC interface. For example:

IP=127.0.0.1
PORT=18082
METHOD="make_integrated_address"
PARAMS="{\"payment_id\":\"1234567890123456789012345678900012345678901234567890123456789000\"}"
curl \
    -X POST http://$IP:$PORT/json_rpc \
    -d '{"jsonrpc":"2.0","id":"0","method":"'$METHOD'","params":'"$PARAMS"'}' \
    -H 'Content-Type: application/json'
 
If the dinastycoin-wallet-rpc was executed with the --rpc-login argument as username:password, then follow this example: