Just listing some common ones here and what they do:
| RPC |
Notes |
getbalance |
just the number |
getbalances |
split by maturity |
gettransaction <tx> |
- |
listtransactions '*' 1000 |
shows the last 1000 transactions |
ListTransactions
my_username='luke'
my_txid='bed1841cfe98b13ca0de13c7c243c787fb6fe6ba64af6a60a252ff06ed082160'
dash-cli -conf="$HOME"/.dashmate/local_seed/core/dash.conf \
-rpcwallet="${my_username}" \
listtransactions '*' 1000 |
jq '.[] | select(.txid == "''"${my_txid}"")'
{
"address": "yTXs7rVBT928CpDN7H4BvhbHuTU7rJoRDW",
"category": "immature",
"amount": 0.01697629,
"label": "",
"vout": 0,
"confirmations": 4,
"instantlock": true,
"instantlock_internal": false,
"chainlock": true,
"generated": true,
"blockhash": "4318a58aef2899ab410ef8197adb34b608e1b44b0de9bb2aa61b82fe47eb62d8",
"blockheight": 8315,
"blockindex": 0,
"blocktime": 1712921984,
"txid": "bed1841cfe98b13ca0de13c7c243c787fb6fe6ba64af6a60a252ff06ed082160",
"walletconflicts": [
],
"time": 1712921949,
"timereceived": 1712921949
}
Just listing some common ones here and what they do:
getbalancegetbalancesgettransaction <tx>listtransactions '*' 1000ListTransactions
{ "address": "yTXs7rVBT928CpDN7H4BvhbHuTU7rJoRDW", "category": "immature", "amount": 0.01697629, "label": "", "vout": 0, "confirmations": 4, "instantlock": true, "instantlock_internal": false, "chainlock": true, "generated": true, "blockhash": "4318a58aef2899ab410ef8197adb34b608e1b44b0de9bb2aa61b82fe47eb62d8", "blockheight": 8315, "blockindex": 0, "blocktime": 1712921984, "txid": "bed1841cfe98b13ca0de13c7c243c787fb6fe6ba64af6a60a252ff06ed082160", "walletconflicts": [ ], "time": 1712921949, "timereceived": 1712921949 }