The Dogecoin CLI provides a powerful way to interact with your Dogecoin node directly from the command line. This guide covers essential commands for managing your wallet and network operations.
Use the getbalance command to retrieve the current balance of your Dogecoin wallet. Ensure your dogecoin.conf file is correctly configured.
dogecoin-cli -conf=/blockchain/config/dogecoin.conf getbalance
The listtransactions command displays a history of transactions associated with your wallet. You can filter and sort these transactions for detailed analysis.
dogecoin-cli -conf=/blockchain/config/dogecoin.conf listtransactions
Use the sendtoaddress command to send Dogecoin to a specified address. This command requires the recipient's address, the amount, and optional labels and comments.
dogecoin-cli --conf=/blockchain/config/dogecoin.conf sendtoaddress "xxxxxxxxxxxx" 12.12345678 "donation" "james donation"
For more advanced commands and detailed explanations, refer to the official Dogecoin documentation and community resources.