DERO RPC API:
The following RPC APIs have been implemented and are completely compatible(Except for few error codes/returned error messages):
getinfo : Return general network status
getheight : Return current block height
** DERO daemon RPC default port is 9999 on localhost.
getaddress : Return wallet address
getbalance : Return wallet balance
transfer : To send Dero to another wallet-address
get_bulk_payments : Return payments with requested payment_IDs and filtered by height requested.
getheight : Return wallet height
query_key : Return seed/view key as requested
make_integrated_address : Generate Integrated_address with specified/random payment_IDs
split_integrated_address : Split Integrated_address into standard wallet address and payment_ID
get_transfer_by_txid (Only Incoming transactions supported)
** DERO wallet RPC default port is 18092 on localhost.
Notes: How to run rpc wallet.
- Download latest alpha release from http://seeds.dero.io/alpha/ and start derod*.
- In another terminal, Run dero-wallet-cli* and restore wallet via old seed or create new wallet.
- Stop dero-wallet and restart wallet with following option to enable inbuilt wallet rpc-server:
./dero-wallet-cli* --rpc-server --wallet-file exchange-wallet1 --rpc-login “testlogin:testpassword”
Recovering wallet from old seed.
For more options and help, see command line help.