#
Wallet Commands
Placeholder convention: Examples in this reference use
yourapp/yourapp-registrationas example token and account names,<R-address>for transparent addresses,<txid>for transaction IDs,<blockhash>for block hashes, and<WIF-private-key>for private key output. Commands shown were tested on VRSCTEST — only these project-specific values have been genericized.
#
addmultisigaddress
Category: Wallet | Version: v1.2.14-2+
Add a nrequired-to-sign multisignature address to the wallet. Each key is a Verus address or hex-encoded public key.
Syntax
addmultisigaddress nrequired ["key",...] ( "account" )
Parameters
Result
Examples
## Add a 2-of-2 multisig address
verus addmultisigaddress 2 '["RAddr1...","RAddr2..."]'
## JSON-RPC
curl --user myusername --data-binary '{"jsonrpc":"1.0","id":"curltest","method":"addmultisigaddress","params":[2,"[\"RAddr1\",\"RAddr2\"]"]}' -H 'content-type:text/plain;' http://127.0.0.1:27486/
Common Errors
Related Commands
createmultisig— Creates multisig address without adding to wallet — List UTXOs including multisiglistunspent
Notes
- The resulting address is added to the wallet and can be used to receive funds.
- To spend from multisig, you need the required number of signatures via
signrawtransaction. - The
accountparameter is deprecated — pass""or omit.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
backupwallet
Category: Wallet | Version: v1.2.x+
Safely copies wallet.dat to a destination filename.
Syntax
backupwallet "destination"
Parameters
Result
Examples
Basic Usage
verus -testnet backupwallet "testbackup"
Output:
/home/cluster/.komodo/vrsctest/testbackup
RPC (curl)
curl --user user:pass --data-binary \
'{"jsonrpc":"1.0","id":"curltest","method":"backupwallet","params":["mybackup"]}' \
-H 'content-type:text/plain;' http://127.0.0.1:18843/
Common Use Cases
- Regular backups — schedule periodic wallet backups
- Pre-upgrade safety — backup before daemon upgrades
- Disaster recovery — maintain offsite copies
Common Errors
Related Commands
— Export individual private keysdumpprivkey — Import keys into a walletimportprivkey — Check wallet state before backupgetwalletinfo
Notes
- The filename must be alphanumeric only — no paths, dots, or special characters.
- The file is saved to the data directory (e.g.,
~/.komodo/vrsctest/) or the-exportdirif configured. - The backup is a copy of
wallet.dat— it contains all private keys. Store securely. - Delete test backups after verification.
Tested On
- Network: VRSCTEST (testnet)
- Version: 1.2.14-2
- Block Height: 926990
#
convertpassphrase
Category: Wallet | Version: v1.2.14-2+
Converts a Verus Desktop, Agama, Verus Agama, or Verus Mobile passphrase to a private key and WIF format for import with importprivkey.
Syntax
convertpassphrase "walletpassphrase"
Parameters
Result
Examples
verus convertpassphrase "my wallet passphrase words here"
Common Errors
Related Commands
— Import WIF private key into walletimportprivkey — Export private key in WIF formatdumpprivkey
Notes
- Useful for migrating from Verus Desktop/Agama/Mobile wallets to CLI.
- The WIF output can be directly used with
importprivkey. - Security: Be cautious with passphrases — do not expose them in shell history.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
decryptdata
Category: Wallet | Version: v1.2.14-2+
Decrypts a VDXF data descriptor, which is typically encrypted to a z-address. Uses viewing keys from the wallet or provided parameters to decrypt nested encryption layers.
Syntax
decryptdata '{
"datadescriptor": {},
"evk": "Optional Sapling extended full viewing key",
"ivk": "Optional hex incoming viewing key",
"txid": "hex",
"retrieve": bool
}'
Parameters
*Either datadescriptor or iddata is required.
iddata sub-fields
Result
Returns the decrypted data descriptor object with as much decryption as possible completed.
Examples
## Encrypt data first
verus signdata '{"address":"Verus Coin Foundation.vrsc@", "createmmr":true, "data":[{"message":"hello world", "encrypttoaddress":"zs1..."}]}'
## Then decrypt
verus decryptdata '{"datadescriptor":{...encrypted output...}}'
Common Errors
Related Commands
signdata— Sign and optionally encrypt data — Export viewing key for decryptionz_exportviewingkeyverifysignature— Verify signed data
Notes
- Part of Verus's VDXF (Verus Data Exchange Format) system for identity-linked encrypted data.
- Supports nested encryption layers — will attempt to decrypt as deeply as possible.
- If only a viewing key is available (not spending key), decryption is still possible for data encrypted to that key.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
dumpprivkey
Category: Wallet | Version: v1.2.x+
Reveals the private key corresponding to a transparent address.
Syntax
dumpprivkey "t-addr"
Parameters
Result
Examples
Basic Usage
verus -testnet dumpprivkey "<R-address>"
Output:
<WIF-private-key>
RPC (curl)
curl --user user:pass --data-binary \
'{"jsonrpc":"1.0","id":"curltest","method":"dumpprivkey","params":["<R-address>"]}' \
-H 'content-type:text/plain;' http://127.0.0.1:18843/
Common Use Cases
- Wallet migration — export keys to import into another wallet
- Backup — store individual private keys securely
- Debugging — verify key ownership
Common Errors
Related Commands
— Import a private keyimportprivkey — Full wallet backup (preferred)backupwallet
Notes
⚠️ SECURITY WARNING: The private key controls all funds at this address. Anyone with the key can spend the funds. Never share private keys. Store them encrypted and offline.
- Returns a WIF (Wallet Import Format) encoded key.
- The wallet must be unlocked if encrypted.
- For z-addresses, use
z_exportkeyinstead.
Tested On
- Network: VRSCTEST (testnet)
- Version: 1.2.14-2
- Block Height: 926990
#
dumpwallet
Category: Wallet | Version: v1.2.14-2+
Dumps transparent address (taddr) wallet keys in a human-readable format to a file. Does NOT include shielded (z-address) keys — use z_exportwallet for that.
Syntax
dumpwallet "filename" ( omitemptytaddresses )
Parameters
Result
Examples
verus dumpwallet "my-wallet-backup"
Common Errors
Related Commands
— Import taddr keys from dump fileimportwallet — Export all keys (taddr + zaddr)z_exportwallet — Copy wallet.dat filebackupwallet
Notes
- Only exports transparent address keys. Use
z_exportwalletfor both transparent and shielded. - Requires
-exportdirto be set when starting verusd. - Cannot overwrite existing files (safety measure).
- The
omitemptytaddressesflag should be used carefully — addresses not yet indexed may be skipped.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
encryptwallet
Category: Wallet | Version: v1.2.14-2+
Encrypts the wallet with a passphrase. This is for first-time encryption only.
⚠️ This command is DISABLED by default. Requires experimental features to be enabled.
Syntax
encryptwallet "passphrase"
Parameters
Enabling
To enable, restart verusd with:
-experimentalfeatures -developerencryptwallet
Or add to config file:
experimentalfeatures=1
developerencryptwallet=1
Result
Shuts down the server after encrypting.
Examples
## Encrypt the wallet
verus encryptwallet "my pass phrase"
## After restart, unlock for operations
verus walletpassphrase "my pass phrase"
## Lock again
verus walletlock
Common Errors
Related Commands
walletpassphrase— Unlock encrypted wallet (not a standalone RPC — wallet is unlocked via daemon startup flags orencryptwalletworkflow)walletlock— Lock the wallet (not a standalone RPC in Verus)walletpassphrasechange— Change encryption passphrase (not a standalone RPC in Verus)
Notes
- DO NOT use casually — encrypting the wallet requires the passphrase for all future private key operations.
- The server shuts down after encryption completes.
- This is an experimental feature inherited from zcashd.
- After encryption,
dumpprivkey,z_exportkey, signing, and sending all require unlocking first.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output only — not executed)
#
getaccount
Category: Wallet | Version: v1.2.14-2+
⚠️ DEPRECATED. Returns the account associated with the given address.
Syntax
getaccount "address"
Parameters
Result
Examples
verus getaccount "<R-address>"
Live output (testnet):
yourapp-registration
Common Errors
Related Commands
— Set account for an address (deprecated)setaccount — Get address for an account (deprecated)getaccountaddress — List all accounts (deprecated)listaccounts
Notes
- The account system is deprecated. Accounts were a Bitcoin Core feature removed in later versions.
- Default account is
""(empty string).
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 ✅ live tested
#
getaccountaddress
Category: Wallet | Version: v1.2.14-2+
⚠️ DEPRECATED. Returns the current Verus address for receiving payments to the specified account.
Syntax
getaccountaddress "account"
Parameters
Result
Examples
verus getaccountaddress ""
Live output (testnet):
RNUj32rViHuEk5F3VEmk53q4xhMMq2wffT
Related Commands
— Get account for an address (deprecated)getaccount — Get all addresses for account (deprecated)getaddressesbyaccount
Notes
- The account system is deprecated.
- Only
""(empty string) is accepted as the account parameter.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 ✅ live tested
#
getaddressesbyaccount
Category: Wallet | Version: v1.2.14-2+
⚠️ DEPRECATED. Returns the list of addresses for the given account.
Syntax
getaddressesbyaccount "account"
Parameters
Result
JSON array of Verus addresses associated with the account.
Examples
verus getaddressesbyaccount ""
Live output (testnet):
[
"RB5s8g763JCWcpdsMsiTMiQ5SQdj376ipg",
"RExj2gcJrBnrPjmaqcyk7NdvLtvaKX2LGH",
"<R-address>",
"RNUj32rViHuEk5F3VEmk53q4xhMMq2wffT",
"<R-address>",
"RQVywYFCbASodUjjpff57RLpGpT5UUbcbT",
"RRcQfB7G4GKFb9pShCK48V1kvuspnKrFMf",
"RSCo6N67YCBTv6M2u8XmXbQo63EEqD148v"
]
Related Commands
— Get account for address (deprecated)getaccount — Get address for account (deprecated)getaccountaddress — List all accounts (deprecated)listaccounts
Notes
- The account system is deprecated.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 ✅ live tested
#
getbalance
Category: Wallet | Version: v1.2.x+
Returns the server's total available balance.
Syntax
getbalance ( "account" minconf includeWatchonly )
Parameters
Result
Examples
Basic Usage
verus -testnet getbalance
Output:
122.88450000
With Minimum Confirmations
verus -testnet getbalance "*" 6
RPC (curl)
curl --user user:pass --data-binary \
'{"jsonrpc":"1.0","id":"curltest","method":"getbalance","params":["*",6]}' \
-H 'content-type:text/plain;' http://127.0.0.1:18843/
Common Use Cases
- Check total wallet balance before sending transactions
- Verify confirmed balance with higher minconf for large payments
- Monitor watch-only addresses with
includeWatchonly=true
Common Errors
Related Commands
— Balance for a specific address/currencygetcurrencybalance — Unconfirmed balance onlygetunconfirmedbalance — Full wallet state including balancegetwalletinfo
Notes
- The
accountparameter is deprecated. Always use""or"*". - Returns the balance for the entire wallet, not a specific address.
Tested On
- Network: VRSCTEST (testnet)
- Version: 1.2.14-2
- Block Height: 926990
#
getcurrencybalance
Category: Wallet | Version: v1.2.x+
Returns the balance in all currencies of a taddr or zaddr belonging to the node's wallet.
Syntax
getcurrencybalance "address" ( minconf ) ( friendlynames ) ( includeshared )
Parameters
Result
Returns an object with currency names as keys and balances as values.
Examples
Basic Usage
verus -testnet getcurrencybalance "<R-address>"
Output:
{
"VRSCTEST": 52.88540000,
"yourapp": 109.99000000
}
With Minimum Confirmations
verus -testnet getcurrencybalance "<R-address>" 5
RPC (curl)
curl --user user:pass --data-binary \
'{"jsonrpc":"1.0","id":"curltest","method":"getcurrencybalance","params":["<R-address>",5]}' \
-H 'content-type:text/plain;' http://127.0.0.1:18843/
Common Use Cases
- Check multi-currency balances on a PBaaS chain
- Per-address accounting — see exactly what each address holds
- Wildcard queries — use
"R*"to check all R-addresses
Common Errors
⚠️ CAUTION: If the wallet only has an incoming viewing key for the address, spends cannot be detected and the returned balance may be larger than actual.
Related Commands
— Total wallet balance (single currency)getbalance — Full wallet stategetwalletinfo — Detailed UTXO listinglistunspent
Notes
- Unlike
getbalance, this command shows all currencies held at an address. - The
addressparameter can be an object:{"address":"R...","currency":"VRSCTEST"}to filter by currency.
Tested On
- Network: VRSCTEST (testnet)
- Version: 1.2.14-2
- Block Height: 926990
#
getnewaddress
Category: Wallet | Version: v1.2.x+
Returns a new VRSCTEST address for receiving payments.
Syntax
getnewaddress ( "account" )
Parameters
Result
Examples
Basic Usage
verus -testnet getnewaddress
Output:
RB5s8g763JCWcpdsMsiTMiQ5SQdj376ipg
RPC (curl)
curl --user user:pass --data-binary \
'{"jsonrpc":"1.0","id":"curltest","method":"getnewaddress","params":[]}' \
-H 'content-type:text/plain;' http://127.0.0.1:18843/
Common Use Cases
- Generate receiving address for each incoming payment
- Improve privacy by using a fresh address per transaction
- Label-based accounting (deprecated account system)
Common Errors
Related Commands
— Address for change outputsgetrawchangeaddress — Check balance after receivinggetbalance — Check per-address balancegetcurrencybalance
Notes
- Each call generates a new address from the HD key pool.
- The
accountparameter is deprecated — do not pass anything other than"".
Tested On
- Network: VRSCTEST (testnet)
- Version: 1.2.14-2
- Block Height: 926990
#
getrawchangeaddress
Category: Wallet | Version: v1.2.x+
Returns a new VRSCTEST address for receiving change. For use with raw transactions, NOT normal use.
Syntax
getrawchangeaddress
Parameters
None.
Result
Examples
Basic Usage
verus -testnet getrawchangeaddress
Output:
RPLRRViL6KqckYSyR2EUSBx1Dcos2F2qho
RPC (curl)
curl --user user:pass --data-binary \
'{"jsonrpc":"1.0","id":"curltest","method":"getrawchangeaddress","params":[]}' \
-H 'content-type:text/plain;' http://127.0.0.1:18843/
Common Use Cases
- Raw transaction construction — specify a change output manually
- Advanced UTXO management — control where change goes
Common Errors
Related Commands
— For normal receiving addressesgetnewaddress — List UTXOs for raw transaction buildinglistunspent
Notes
- This is intended for raw transaction workflows only. For normal use, use
getnewaddress. - The wallet automatically handles change addresses during standard sends.
Tested On
- Network: VRSCTEST (testnet)
- Version: 1.2.14-2
- Block Height: 926990
#
getreceivedbyaccount
Category: Wallet | Version: v1.2.14-2+
⚠️ DEPRECATED. Returns the total amount received by addresses associated with the specified account.
Syntax
getreceivedbyaccount "account" ( minconf )
Parameters
Result
Examples
verus getreceivedbyaccount ""
Live output (testnet):
766.98690000
Related Commands
— Get received amount by addressgetreceivedbyaddress — List received by all accounts (deprecated)listreceivedbyaccount
Notes
- The account system is deprecated.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 ✅ live tested
#
getreceivedbyaddress
Category: Wallet | Version: v1.2.14-2+
Returns the total amount received by the given Verus address in transactions with at least minconf confirmations.
Syntax
getreceivedbyaddress "address" ( minconf )
Parameters
Result
Examples
verus getreceivedbyaddress "<R-address>"
Live output (testnet):
520.23650000
## With minimum 6 confirmations
verus getreceivedbyaddress "<R-address>" 6
Common Errors
Related Commands
— Get received by account (deprecated)getreceivedbyaccount — List received by all addresseslistreceivedbyaddress — Get balance for any address typez_getbalance
Notes
- Only counts received amounts, not current balance (doesn't subtract sends).
- Address must belong to the wallet.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 ✅ live tested
#
gettransaction
Category: Wallet | Version: v1.2.x+
Get detailed information about an in-wallet transaction.
Syntax
gettransaction "txid" ( includeWatchonly )
Parameters
Result
Examples
Basic Usage
verus -testnet gettransaction "<txid>"
Output (trimmed):
{
"amount": 0.00000000,
"fee": -0.00100000,
"confirmations": 326,
"blockhash": "<blockhash>",
"blockindex": 1,
"blocktime": 1770429214,
"txid": "<txid>",
"details": [
{
"account": "",
"address": "<R-address>",
"category": "send",
"amount": -0.92700000,
"vout": 1,
"fee": -0.00100000
}
]
}
RPC (curl)
curl --user user:pass --data-binary \
'{"jsonrpc":"1.0","id":"curltest","method":"gettransaction","params":["<txid>"]}' \
-H 'content-type:text/plain;' http://127.0.0.1:18843/
Common Use Cases
- Payment verification — confirm a tx has enough confirmations
- Transaction debugging — inspect details, fee, block placement
- Accounting — extract send/receive details for records
Common Errors
Related Commands
— List recent transactionslisttransactions — Create a transactionsendtoaddress
Notes
- Only works for transactions that involve this wallet's addresses.
- The
amountfield shows the net effect (send + receive can cancel out to 0 for self-sends).
Tested On
- Network: VRSCTEST (testnet)
- Version: 1.2.14-2
- Block Height: 926990
#
getunconfirmedbalance
Category: Wallet | Version: v1.2.x+
Returns the server's total unconfirmed balance.
Syntax
getunconfirmedbalance
Parameters
None.
Result
Examples
Basic Usage
verus -testnet getunconfirmedbalance
Output:
0.00000000
RPC (curl)
curl --user user:pass --data-binary \
'{"jsonrpc":"1.0","id":"curltest","method":"getunconfirmedbalance","params":[]}' \
-H 'content-type:text/plain;' http://127.0.0.1:18843/
Common Use Cases
- Monitor incoming payments — check if funds are pending
- Transaction confirmation tracking — poll until unconfirmed drops to 0
Common Errors
None typical — this command takes no arguments.
Related Commands
— Confirmed balancegetbalance — Includes both confirmed and unconfirmedgetwalletinfo
Notes
- Returns only the unconfirmed portion. Use
getbalancefor confirmed funds. - A non-zero value means transactions are waiting for block inclusion.
Tested On
- Network: VRSCTEST (testnet)
- Version: 1.2.14-2
- Block Height: 926990
#
getwalletinfo
Category: Wallet | Version: v1.2.x+
Returns an object containing various wallet state info.
Syntax
getwalletinfo
Parameters
None.
Result
Examples
Basic Usage
verus -testnet getwalletinfo
Output:
{
"walletversion": 60000,
"balance": 122.88450000,
"unconfirmed_balance": 0.00000000,
"immature_balance": 0.00000000,
"eligible_staking_outputs": 8,
"eligible_staking_balance": 122.88450000,
"reserve_balance": {
"yourapp": 210.00000000
},
"txcount": 57,
"keypoololdest": 1770080498,
"keypoolsize": 101,
"paytxfee": 0.00010000,
"seedfp": "2187fa609bc5b8507d961fa009ee7acd8658964e1dc4a4ef1e04a63a805811de"
}
RPC (curl)
curl --user user:pass --data-binary \
'{"jsonrpc":"1.0","id":"curltest","method":"getwalletinfo","params":[]}' \
-H 'content-type:text/plain;' http://127.0.0.1:18843/
Common Use Cases
- Wallet health check — verify balance, tx count, key pool status
- Staking info — check eligible staking balance and output count
- Reserve balances — see PBaaS token holdings
- Security audit — check if wallet is locked (
unlocked_until)
Common Errors
None typical — this command takes no arguments.
Related Commands
— Simple balance querygetbalance — Unconfirmed onlygetunconfirmedbalance — Transaction historylisttransactions
Notes
reserve_balanceonly appears on PBaaS-enabled chains with non-native tokens.seedfpis a fingerprint of the HD seed — useful for verifying wallet identity without exposing the seed.
Tested On
- Network: VRSCTEST (testnet)
- Version: 1.2.14-2
- Block Height: 926990
#
importaddress
Category: Wallet | Version: v1.2.14-2+
Adds an address or script (in hex) that can be watched as if it were in your wallet but cannot be used to spend. Creates a watch-only entry.
Syntax
importaddress "address" ( "label" rescan )
Parameters
Result
No return value on success.
Examples
## Import with rescan
verus importaddress "RAddr..."
## Import without rescan (faster)
verus importaddress "RAddr..." "my-watch" false
Common Errors
Related Commands
— Import spendable private keyimportprivkey — Import shielded viewing key (watch-only)z_importviewingkey
Notes
- Watch-only addresses show in balance with
includeWatchonlyflag. - Rescan can take minutes to hours on large chains — use
rescan=falseand rescan later if needed.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
importprivkey
Category: Wallet | Version: v1.2.x+
Adds a private key (as returned by dumpprivkey) to your wallet.
Syntax
importprivkey "verusprivkey" ( "label" rescan )
Parameters
Result
None (returns null on success).
Examples
Basic Usage
verus -testnet importprivkey "myWIFkey"
Import Without Rescan
verus -testnet importprivkey "myWIFkey" "testing" false
RPC (curl)
curl --user user:pass --data-binary \
'{"jsonrpc":"1.0","id":"curltest","method":"importprivkey","params":["myWIFkey","testing",false]}' \
-H 'content-type:text/plain;' http://127.0.0.1:18843/
Common Use Cases
- Wallet migration — import keys exported from another wallet
- Key recovery — restore access from a backed-up private key
- Fast import — use
rescan=falsewhen importing multiple keys, then rescan once at the end
Common Errors
Related Commands
— Export a private keydumpprivkey — Import watch-only addressimportaddress
Notes
⚠️ WARNING: With
rescan=true(default), this call can take minutes as it scans the entire blockchain for transactions involving the imported key.
- If importing multiple keys, set
rescan=falsefor all but the last import, or trigger a manual rescan afterward. - The imported key becomes part of the wallet's keystore permanently.
Tested On
- Network: VRSCTEST (testnet)
- Version: 1.2.14-2
- Block Height: 926990
#
importwallet
Category: Wallet | Version: v1.2.14-2+
Imports transparent address (taddr) keys from a wallet dump file created by dumpwallet.
Syntax
importwallet "filename"
Parameters
Result
No return value on success.
Examples
## Dump then import
verus dumpwallet "mybackup"
verus importwallet "/path/to/exportdir/mybackup"
Related Commands
— Export taddr keys to filedumpwallet — Import both taddr and zaddr keysz_importwallet
Notes
- Only imports transparent keys. Use
z_importwalletfor full import (taddr + zaddr). - Triggers a rescan after import.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
keypoolrefill
Category: Wallet | Version: v1.2.14-2+
Fills the keypool with pre-generated keys for faster address generation.
Syntax
keypoolrefill ( newsize )
Parameters
Result
No return value on success.
Examples
verus keypoolrefill
verus keypoolrefill 200
Live test (testnet): Completed successfully with no output.
Related Commands
— Shows current keypool sizegetwalletinfo
Notes
- Pre-generating keys improves address generation speed.
- Useful before operations that need many new addresses.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 ✅ live tested
#
listaccounts
Category: Wallet | Version: v1.2.14-2+
⚠️ DEPRECATED. Returns an object with account names as keys and account balances as values.
Syntax
listaccounts ( minconf includeWatchonly )
Parameters
Result
JSON object mapping account names to balances.
Examples
verus listaccounts
Live output (testnet):
{
"": -404.33180000,
"bootstrap-test": 0.00000000,
"yourapp-registration": 527.21640000
}
Related Commands
— Get account for address (deprecated)getaccount — Detailed received by account (deprecated)listreceivedbyaccount
Notes
- The account system is deprecated. Negative balances can occur due to the accounting model.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 ✅ live tested
#
listaddressgroupings
Category: Wallet | Version: v1.2.14-2+
Lists groups of addresses whose common ownership has been made public by being used together as inputs or change in past transactions.
Syntax
listaddressgroupings
Parameters
None.
Result
Nested JSON array: groups of [address, amount, account] tuples.
Examples
verus listaddressgroupings
Live output (testnet, partial):
[
[
["<R-address>", 52.88540000, "yourapp-registration"],
["<R-address>", 0.00000000, ""],
["<R-address>", 0.00000000, ""]
]
]
Related Commands
— List unspent outputslistunspent — List received by addresslistreceivedbyaddress
Notes
- Reveals privacy information — addresses grouped together were likely controlled by the same user.
- The
accountfield in each tuple is deprecated.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 ✅ live tested
#
listlockunspent
Category: Wallet | Version: v1.2.14-2+
Returns a list of temporarily unspendable (locked) outputs. See lockunspent to lock/unlock.
Syntax
listlockunspent
Parameters
None.
Result
JSON array of locked outputs, each with txid and vout.
Examples
verus listlockunspent
Live output (testnet):
[]
Related Commands
— Lock/unlock specific outputslockunspent — List spendable outputslistunspent
Notes
- Locks are stored in memory only — cleared on node restart.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 ✅ live tested
#
listreceivedbyaccount
Category: Wallet | Version: v1.2.14-2+
⚠️ DEPRECATED. List balances by account.
Syntax
listreceivedbyaccount ( minconf includeempty includeWatchonly )
Parameters
Result
JSON array of objects with account, amount, confirmations, and optionally involvesWatchonly.
Examples
verus listreceivedbyaccount
Live output (testnet):
[
{
"account": "",
"amount": 766.98690000,
"confirmations": 1448
},
{
"account": "yourapp-registration",
"amount": 527.21640000,
"confirmations": 333
}
]
Related Commands
— List received by addresslistreceivedbyaddress — List account balances (deprecated)listaccounts
Notes
- The account system is deprecated.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 ✅ live tested
#
listreceivedbyaddress
Category: Wallet | Version: v1.2.14-2+
List balances by receiving address.
Syntax
listreceivedbyaddress ( minconf includeempty includeWatchonly )
Parameters
Result
JSON array of objects:
Examples
verus listreceivedbyaddress
verus listreceivedbyaddress 6 true
Live output (testnet, partial):
[
{
"address": "<R-address>",
"account": "yourapp-registration",
"amount": 527.21640000,
"confirmations": 333,
"txids": ["<txid>", "<txid>"]
}
]
Related Commands
— List by account (deprecated)listreceivedbyaccount — Get total for single addressgetreceivedbyaddress
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 ✅ live tested
#
listsinceblock
Category: Wallet | Version: v1.2.14-2+
Get all transactions in blocks since a specified block hash, or all transactions if omitted.
Syntax
listsinceblock ( "blockhash" target-confirmations includeWatchonly )
Parameters
Result
Each transaction contains: account, address, category (send/receive), amount, vout, fee, confirmations, blockhash, blockindex, blocktime, txid, time, timereceived.
Examples
## All transactions
verus listsinceblock
## Since a specific block with 6 confirmations
verus listsinceblock "000000000000000bacf66f7497b7dc45ef753ee9a7d38571037cdb1a57f663ad" 6
Related Commands
— List recent transactionslisttransactions — Get single transaction detailsgettransaction
Notes
- Useful for tracking new transactions since a known block.
- Can return very large result sets if no blockhash is specified.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
listtransactions
Category: Wallet | Version: v1.2.x+
Returns up to count most recent transactions, optionally skipping the first from.
Syntax
listtransactions ( "account" count from includeWatchonly )
Parameters
Result
Array of transaction objects with fields: account, address, category (send/receive/move), amount, vout, fee, confirmations, blockhash, blockindex, txid, time, timereceived, comment, otheraccount (for category "move"), size.
Examples
Basic Usage
verus -testnet listtransactions "*" 3
Output (trimmed):
[
{
"account": "",
"address": "<R-address>",
"category": "send",
"amount": -0.92700000,
"vout": 1,
"fee": -0.00100000,
"confirmations": 326,
"txid": "<txid>",
"time": 1770429209,
"size": 1155
}
]
Pagination
verus -testnet listtransactions "*" 20 100
RPC (curl)
curl --user user:pass --data-binary \
'{"jsonrpc":"1.0","id":"curltest","method":"listtransactions","params":["*",20,100]}' \
-H 'content-type:text/plain;' http://127.0.0.1:18843/
Common Use Cases
- Transaction history — display recent wallet activity
- Pagination — use
fromto page through history - Payment monitoring — poll for new incoming transactions
Common Errors
Related Commands
— Detailed info for a specific txgettransaction — List spendable UTXOslistunspent
Notes
- Both
sendandreceiveentries appear for self-sends. - The
accountparameter is deprecated — use"*". - Results are ordered newest-first.
Tested On
- Network: VRSCTEST (testnet)
- Version: 1.2.14-2
- Block Height: 926990
#
listunspent
Category: Wallet | Version: v1.2.x+
Returns array of unspent transaction outputs (UTXOs) with between minconf and maxconf confirmations.
Syntax
listunspent ( minconf maxconf ["address",...] includeshared )
Parameters
Result
Array of UTXO objects:
Examples
Basic Usage
verus -testnet listunspent
Output (first entry):
[
{
"txid": "<txid>",
"vout": 2,
"generated": false,
"address": "<R-address>",
"account": "yourapp-registration",
"amount": 1.00000000,
"confirmations": 649,
"spendable": true
}
]
Filter by Address
verus -testnet listunspent 6 9999999 '["<R-address>"]'
RPC (curl)
curl --user user:pass --data-binary \
'{"jsonrpc":"1.0","id":"curltest","method":"listunspent","params":[6,9999999,["<R-address>"]]}' \
-H 'content-type:text/plain;' http://127.0.0.1:18843/
Common Use Cases
- UTXO management — inspect available inputs before raw transactions
- Coin selection — find UTXOs of specific sizes
- Multi-currency —
currencyvaluesshows non-native token amounts - Address audit — filter UTXOs by address
Common Errors
Related Commands
— Summarized balancegetbalance — Per-address currency balancesgetcurrencybalance — Details for a specific txgettransaction
Notes
- UTXOs with
currencyvaluesmay showamount: 0.00000000for the native coin while holding non-native tokens. - The
generatedfield indicates coinbase (mining/staking) outputs.
Tested On
- Network: VRSCTEST (testnet)
- Version: 1.2.14-2
- Block Height: 926990
#
lockunspent
Category: Wallet | Version: v1.2.14-2+
Temporarily lock or unlock specified transaction outputs. Locked outputs are excluded from automatic coin selection when spending.
Syntax
lockunspent unlock [{"txid":"txid","vout":n},...]
Parameters
Result
Examples
## Lock an output
verus lockunspent false '[{"txid":"a08e6907...","vout":1}]'
## Unlock it
verus lockunspent true '[{"txid":"a08e6907...","vout":1}]'
Related Commands
— List currently locked outputslistlockunspent — List spendable outputslistunspent
Notes
- Locks are in-memory only — cleared on node restart.
- Useful for reserving specific UTXOs for manual transaction construction.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
move
Category: Wallet | Version: v1.2.14-2+
⚠️ DEPRECATED. Move a specified amount from one account to another within the wallet. This is purely an accounting operation — no on-chain transaction is created.
Syntax
move "fromaccount" "toaccount" amount ( minconf "comment" )
Parameters
Result
Related Commands
— List account balances (deprecated)listaccounts — Set account for address (deprecated)setaccount
Notes
- The account system is deprecated. This command only adjusts internal accounting labels.
- No blockchain transaction is created — this is purely a wallet-internal operation.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified — not executed)
#
prunespentwallettransactions
Category: Wallet | Version: v1.2.14-2+
Remove all spent transactions from the wallet database. Optionally keep a specific transaction. Back up your wallet.dat before running.
Syntax
prunespentwallettransactions ( "txid" )
Parameters
Result
Examples
## Prune all spent transactions
verus prunespentwallettransactions
## Prune but keep a specific tx
verus prunespentwallettransactions "1075db55d416d3ca..."
Common Errors
Related Commands
— Backup wallet before pruningbackupwallet — List wallet transactionslisttransactions
Notes
- ⚠️ Destructive operation — always
backupwalletfirst. - Reduces wallet.dat size for wallets with many historical transactions.
- Improves wallet performance by removing unnecessary transaction data.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified — not executed)
#
rescanfromheight
Category: Wallet | Version: v1.2.14-2+
Rescans the blockchain from a specified height to find wallet transactions. Useful after importing keys.
Syntax
rescanfromheight ( height )
Parameters
Result
No return value documented.
Examples
## Rescan entire chain
verus rescanfromheight
## Rescan from block 1000000
verus rescanfromheight 1000000
Common Errors
Related Commands
— Import key (triggers optional rescan)importprivkey — Import watch-only addressimportaddress — Import shielded keyz_importkey
Notes
- ⚠️ Can take minutes to hours on large wallets or full chain rescans.
- Use a specific height to limit scan time (e.g., the block when the key was first used).
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified — not executed)
#
resendwallettransactions
Category: Wallet | Version: v1.2.14-2+
Immediately re-broadcasts unconfirmed wallet transactions to all peers. Intended for testing — the wallet periodically re-broadcasts automatically.
Syntax
resendwallettransactions
Parameters
None.
Result
JSON array of transaction IDs that were re-broadcast.
Examples
verus resendwallettransactions
Live output (testnet):
[]
Related Commands
— List wallet transactionslisttransactions — Get transaction detailsgettransaction
Notes
- The wallet automatically re-broadcasts unconfirmed transactions periodically.
- This command forces an immediate re-broadcast — mainly useful for testing/debugging.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 ✅ live tested
#
sendfrom
Category: Wallet | Version: v1.2.x+ | ⚠️ DEPRECATED
Send an amount from an account to a VRSCTEST address. Use sendtoaddress instead.
Syntax
sendfrom "fromaccount" "toVRSCTESTaddress" amount ( minconf "comment" "comment-to" )
Parameters
Result
Examples
Basic Usage
verus -testnet sendfrom "" "RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPV" 0.01
With Confirmations and Comments
verus -testnet sendfrom "" "RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPV" 0.01 6 "donation" "seans outpost"
RPC (curl)
curl --user user:pass --data-binary \
'{"jsonrpc":"1.0","id":"curltest","method":"sendfrom","params":["","RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPV",0.01,6,"donation","seans outpost"]}' \
-H 'content-type:text/plain;' http://127.0.0.1:18843/
Common Errors
Related Commands
— Preferred replacementsendtoaddress — Send to multiple addressessendmany
Notes
- DEPRECATED — use
sendtoaddressfor all new code. - The
fromaccountparameter must be"". Named accounts are no longer supported.
Tested On
- Network: VRSCTEST (testnet)
- Version: 1.2.14-2
- Block Height: 926990
#
sendmany
Category: Wallet | Version: v1.2.x+
Send to multiple addresses in a single transaction.
Syntax
sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...] )
Parameters
Result
Examples
Basic Usage
verus -testnet sendmany "" '{"RAddr1":0.01,"RAddr2":0.02}'
With Comment
verus -testnet sendmany "" '{"RAddr1":0.01,"RAddr2":0.02}' 6 "testing"
Subtract Fee from Recipients
verus -testnet sendmany "" '{"RAddr1":0.01,"RAddr2":0.02}' 1 "" '["RAddr1","RAddr2"]'
RPC (curl)
curl --user user:pass --data-binary \
'{"jsonrpc":"1.0","id":"curltest","method":"sendmany","params":["",{"RAddr1":0.01,"RAddr2":0.02},6,"testing"]}' \
-H 'content-type:text/plain;' http://127.0.0.1:18843/
Common Use Cases
- Batch payments — pay multiple recipients in one transaction (saves fees)
- Payroll / distributions — send to many addresses at once
- Fee splitting — deduct fee proportionally from selected recipients
Common Errors
Related Commands
— Send to a single addresssendtoaddress — Check available UTXOslistunspent
Notes
- Creates a single transaction regardless of recipient count — more efficient than multiple
sendtoaddresscalls. - The
fromaccountparameter must be"".
Tested On
- Network: VRSCTEST (testnet)
- Version: 1.2.14-2
- Block Height: 926990
#
sendtoaddress
Category: Wallet | Version: v1.2.x+
Send an amount to a given address. The amount is rounded to the nearest 0.00000001.
Syntax
sendtoaddress "VRSCTEST_address" amount ( "comment" "comment-to" subtractfeefromamount )
Parameters
Result
Examples
Basic Usage
verus -testnet sendtoaddress "RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPV" 0.1
With Comment
verus -testnet sendtoaddress "RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPV" 0.1 "donation" "seans outpost"
Subtract Fee from Amount
verus -testnet sendtoaddress "RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPV" 0.1 "" "" true
RPC (curl)
curl --user user:pass --data-binary \
'{"jsonrpc":"1.0","id":"curltest","method":"sendtoaddress","params":["RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPV",0.1,"donation","seans outpost"]}' \
-H 'content-type:text/plain;' http://127.0.0.1:18843/
Common Use Cases
- Simple payments — send VRSCTEST to another address
- Fee management — use
subtractfeefromamountto send exact wallet balance - Annotated transactions — add comments for record-keeping
Common Errors
Related Commands
— Send from a specific account (deprecated)sendfrom — Send to multiple addresses in one transactionsendmany — Look up the resulting transactiongettransaction — Check available balance firstgetbalance
Notes
- Comments are stored locally in the wallet only — they are not on the blockchain.
- The wallet must be unlocked if encrypted.
- Transaction fee is set by
paytxfeeor estimated automatically.
Tested On
- Network: VRSCTEST (testnet)
- Version: 1.2.14-2
- Block Height: 926990
#
setaccount
Category: Wallet | Version: v1.2.14-2+
⚠️ DEPRECATED. Sets the account associated with the given address.
Syntax
setaccount "address" "account"
Parameters
Result
No return value on success.
Related Commands
— Get account for address (deprecated)getaccount — List all accounts (deprecated)listaccounts
Notes
- The account system is deprecated.
- Only
""(empty string) is accepted as the account parameter.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
settxfee
Category: Wallet | Version: v1.2.14-2+
Set the transaction fee per kilobyte for wallet transactions.
Syntax
settxfee amount
Parameters
Result
Examples
verus settxfee 0.0001
Live output (testnet):
true
Related Commands
— Shows current fee settingsgetwalletinfo — Send transaction (uses this fee)sendtoaddress
Notes
- Affects all subsequent wallet transactions until changed or node restart.
- Default fee is typically 0.0001 VRSC/kB.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 ✅ live tested
#
z_exportkey
Category: Wallet | Version: v1.2.14-2+
Reveals the spending key for a shielded (z) address. The key can be imported with z_importkey.
Syntax
z_exportkey "zaddr" ( outputashex )
Parameters
Result
Examples
verus z_exportkey "zs1..."
Common Errors
Related Commands
— Import a shielded spending keyz_importkey — Export viewing key (read-only)z_exportviewingkey — Export transparent address keydumpprivkey
Notes
- Security-sensitive — the exported key grants full spending access.
- Keep exported keys secure and never share publicly.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
z_exportviewingkey
Category: Wallet | Version: v1.2.14-2+
Reveals the viewing key for a shielded (z) address. Viewing keys allow monitoring incoming transactions without spending ability.
Syntax
z_exportviewingkey "zaddr"
Parameters
Result
Examples
verus z_exportviewingkey "zs1jqpysk8t5tzfe2rs25qkf0t6pzt3xdc7cjemn2x67zs0txfv4fq6d5qklq9pet6nwr556u0mywj"
Related Commands
— Import a viewing keyz_importviewingkey — Export full spending keyz_exportkey
Notes
- Viewing keys can see incoming funds but cannot detect spends — reported balance may be higher than actual.
- Safer to share than spending keys for monitoring purposes.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
z_exportwallet
Category: Wallet | Version: v1.2.14-2+
Exports all wallet keys (both taddr and zaddr) in a human-readable format to a file. More complete than dumpwallet.
Syntax
z_exportwallet "filename" ( omitemptytaddresses )
Parameters
Result
Examples
verus z_exportwallet "full-backup"
Common Errors
Related Commands
— Import from export filez_importwallet — Export taddr keys onlydumpwallet — Copy wallet.datbackupwallet
Notes
- Includes both transparent and shielded keys — most complete export option.
- Requires
-exportdirto be set. - Cannot overwrite existing files.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
z_getbalance
Category: Wallet | Version: v1.2.14-2+
Returns the balance of a transparent or shielded address belonging to the wallet. Supports wildcards.
Syntax
z_getbalance "address" ( minconf )
Parameters
Result
Examples
verus z_getbalance "zs1..."
verus z_getbalance "zs1..." 5
Common Errors
Related Commands
— Get combined transparent + private balancez_gettotalbalance — Get transparent balancegetbalance — List shielded unspent notesz_listunspent
Notes
- ⚠️ If wallet only has a viewing key (not spending key), spends cannot be detected — balance may appear higher than actual.
- Supports wildcard patterns:
z*(all z-addresses),R*(all R-addresses),i*(all i-addresses).
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
z_getencryptionaddress
Category: Wallet | Version: v1.2.14-2+
Derives an encryption z-address from a wallet address, seed, or extended key, optionally scoped between two VerusIDs. Returns viewing key and optionally the spending key.
Syntax
z_getencryptionaddress '{
"address": "zaddress",
"seed": "wallet seed",
"hdindex": n,
"rootkey": "extended private key",
"fromid": "id@",
"toid": "id@",
"encryptionindex": n,
"returnsecret": true|false
}'
Parameters
*One of address, seed, or rootkey is required.
Result
Examples
verus z_getencryptionaddress '{"address":"zs1...","fromid":"bob@","toid":"alice@"}'
Related Commands
— Decrypt data encrypted to a z-addressdecryptdatasigndata— Sign/encrypt data — Generate new z-addressz_getnewaddress
Notes
- Part of Verus's identity-linked encryption system.
- The
fromid/toidscoping creates deterministic encryption addresses for communication between two identities. - Useful for VDXF encrypted data exchange.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
z_getmigrationstatus
Category: Wallet | Version: v1.2.14-2+
Returns information about the status of Sprout to Sapling migration.
Syntax
z_getmigrationstatus
Parameters
None.
Result
Examples
verus z_getmigrationstatus
Live output (testnet):
{
"enabled": false,
"destination_address": "zs1jqpysk8t5tzfe2rs25qkf0t6pzt3xdc7cjemn2x67zs0txfv4fq6d5qklq9pet6nwr556u0mywj",
"unmigrated_amount": "0.00",
"unfinalized_migrated_amount": "0.00",
"finalized_migrated_amount": "0.00",
"finalized_migration_transactions": 0,
"migration_txids": []
}
Related Commands
— Enable/disable migrationz_setmigration
Notes
- A transaction is "finalized" when it has ≥ 10 confirmations.
- Migration sends up to 5 transactions per interval (every 500 blocks at height ≡ 499 mod 500).
- Ends when Sprout balance falls below 0.01 VRSC.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 ✅ live tested
#
z_getnewaddress
Category: Wallet | Version: v1.2.14-2+
Returns a new shielded address for receiving payments. Defaults to Sapling type.
Syntax
z_getnewaddress ( "type" )
Parameters
Result
Examples
verus z_getnewaddress
verus z_getnewaddress sapling
Related Commands
— List all shielded addressesz_listaddresses — Get new transparent addressgetnewaddress — Export private key for z-addressz_exportkey
Notes
- Sapling addresses start with
zs1. - Sprout addresses are legacy — use Sapling for new addresses.
- Key generation may take a moment due to cryptographic operations.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
z_getoperationresult
Category: Wallet | Version: v1.2.14-2+
Retrieves the result and status of finished operations, then removes them from memory. Use z_getoperationstatus to check without removing.
Syntax
z_getoperationresult ( ["operationid", ...] )
Parameters
Result
JSON array of operation result objects with id, status, creation_time, and operation-specific result data.
Examples
## Get all finished operation results
verus z_getoperationresult
## Get specific operation
verus z_getoperationresult '["opid-42f729bf-106a-441e-868e-866a2a2c12ac"]'
Related Commands
— Check status without removingz_getoperationstatus — List all operation IDsz_listoperationids — Returns an operation IDz_sendmany
Notes
- Removes operations from memory after returning — use
z_getoperationstatusif you want to check without clearing. - Operations include
z_sendmany,z_shieldcoinbase,z_mergetoaddressresults.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 ✅ live tested
#
z_getoperationstatus
Category: Wallet | Version: v1.2.14-2+
Get operation status and any associated result or error data. The operation remains in memory (unlike z_getoperationresult).
Syntax
z_getoperationstatus ( ["operationid", ...] )
Parameters
Result
JSON array of operation status objects.
Examples
verus z_getoperationstatus
verus z_getoperationstatus '["opid-42f729bf-..."]'
Live output (testnet, partial):
[
{
"id": "opid-42f729bf-106a-441e-868e-866a2a2c12ac",
"status": "success",
"creation_time": 1770423015
}
]
Related Commands
— Get result and remove from memoryz_getoperationresult — List all operation IDsz_listoperationids
Notes
- Does NOT remove the operation from memory — safe to call repeatedly.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 ✅ live tested
#
z_gettotalbalance
Category: Wallet | Version: v1.2.14-2+
Returns the total value of funds in the wallet, broken down by transparent, private (shielded), and total.
Syntax
z_gettotalbalance ( minconf includeWatchonly )
Parameters
Result
Examples
verus z_gettotalbalance
verus z_gettotalbalance 5
Live output (testnet):
{
"transparent": "122.8845",
"private": "1.00",
"total": "123.8845"
}
Related Commands
— Transparent balance onlygetbalance — Balance for specific addressz_getbalance
Notes
- ⚠️ If wallet has viewing-key-only addresses, private balance may be overstated (spends undetectable).
- Values returned as strings, not numbers.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 ✅ live tested
#
z_importkey
Category: Wallet | Version: v1.2.14-2+
Imports a shielded spending key (from z_exportkey) into the wallet.
Syntax
z_importkey "zkey" ( rescan startHeight )
Parameters
Result
Examples
## Import with automatic rescan
verus z_importkey "secret-extended-key..."
## Import without rescan
verus z_importkey "secret-extended-key..." no
## Import with partial rescan from height
verus z_importkey "secret-extended-key..." whenkeyisnew 30000
Common Errors
Related Commands
— Export spending keyz_exportkey — Import viewing key (read-only)z_importviewingkey — Import transparent keyimportprivkey
Notes
- Rescan can take minutes to hours depending on startHeight and chain size.
- Use
startHeightto limit rescan time if you know when the key was first used.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
z_importviewingkey
Category: Wallet | Version: v1.2.14-2+
Imports a shielded viewing key (from z_exportviewingkey). Allows monitoring incoming transactions without spending ability.
Syntax
z_importviewingkey "vkey" ( rescan startHeight )
Parameters
Result
Examples
verus z_importviewingkey "zxviews1..."
verus z_importviewingkey "zxviews1..." no
verus z_importviewingkey "zxviews1..." whenkeyisnew 30000
Related Commands
— Export viewing keyz_exportviewingkey — Import full spending keyz_importkey — Import transparent watch-onlyimportaddress
Notes
- ⚠️ Viewing keys cannot detect spends — balance may appear higher than actual.
- Creates a watch-only shielded address.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
z_importwallet
Category: Wallet | Version: v1.2.14-2+
Imports both transparent and shielded keys from a wallet export file (created by z_exportwallet).
Syntax
z_importwallet "filename"
Parameters
Result
No return value on success.
Examples
verus z_exportwallet "backup"
verus z_importwallet "/path/to/exportdir/backup"
Related Commands
— Export all keysz_exportwallet — Import taddr keys onlyimportwallet
Notes
- Imports both taddr and zaddr keys — most complete import option.
- Triggers a wallet rescan.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
z_listaddresses
Category: Wallet | Version: v1.2.14-2+
Returns the list of Sprout and Sapling shielded addresses belonging to the wallet.
Syntax
z_listaddresses ( includeWatchonly )
Parameters
Result
JSON array of shielded address strings.
Examples
verus z_listaddresses
Live output (testnet):
[
"zs1jqpysk8t5tzfe2rs25qkf0t6pzt3xdc7cjemn2x67zs0txfv4fq6d5qklq9pet6nwr556u0mywj"
]
Related Commands
— Create new shielded addressz_getnewaddress — Get balance for an addressz_getbalance
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 ✅ live tested
#
z_listoperationids
Category: Wallet | Version: v1.2.14-2+
Returns the list of operation IDs currently known to the wallet, optionally filtered by status.
Syntax
z_listoperationids ( "status" )
Parameters
Result
JSON array of operation ID strings.
Examples
verus z_listoperationids
verus z_listoperationids "success"
Live output (testnet):
[
"opid-0b1d7fe5-a2e7-47ed-bf27-01cfb49fd094",
"opid-92d661e2-588a-4b5a-9187-a041a92b9bf7",
"opid-ea97f749-23d2-46d4-bb6a-5b91d148e079",
"opid-9b96eb69-962e-4e26-a2e5-c194ba2e8d5e",
"opid-a1e6b781-5020-4c8e-97b2-4c7749a94f1e",
"opid-4e63f6fa-7ee2-42c7-8fad-dde7393d9952",
"opid-42f729bf-106a-441e-868e-866a2a2c12ac"
]
Related Commands
— Get operation detailsz_getoperationstatus — Get result and clearz_getoperationresult
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 ✅ live tested
#
z_listreceivedbyaddress
Category: Wallet | Version: v1.2.14-2+
Returns a list of amounts received by a shielded address belonging to the wallet.
Syntax
z_listreceivedbyaddress "address" ( minconf )
Parameters
Result
JSON array of note objects:
Examples
verus z_listreceivedbyaddress "zs1..."
Related Commands
— List unspent shielded notesz_listunspent — Get balance for addressz_getbalance
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
z_listunspent
Category: Wallet | Version: v1.2.14-2+
Returns array of unspent shielded notes with between minconf and maxconf confirmations. Optionally filter by address.
Syntax
z_listunspent ( minconf maxconf includeWatchonly ["zaddr",...] )
Parameters
Result
JSON array of unspent note objects with txid, outindex, confirmations, spendable, address, amount, memo, change.
Examples
verus z_listunspent
Live output (testnet):
[
{
"txid": "7db301e131fe1edb78e2761f98a82b9440e073230f9f572f10f7f28b3eff7036",
"outindex": 0,
"confirmations": 4817,
"spendable": true,
"address": "zs1jqpysk8t5tzfe2rs25qkf0t6pzt3xdc7cjemn2x67zs0txfv4fq6d5qklq9pet6nwr556u0mywj",
"amount": 1.00000000,
"memo": "f600000000...",
"change": false
}
]
Related Commands
— List all received notesz_listreceivedbyaddress — List transparent UTXOslistunspent — Get address balancez_getbalance
Notes
- Notes with 0 confirmations are returned when minconf=0 but are not immediately spendable.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 ✅ live tested
#
z_mergetoaddress
Category: Wallet | Version: v1.2.14-2+
Merges multiple UTXOs and/or shielded notes into a single UTXO or note. Asynchronous operation.
⚠️ DISABLED by default. Requires experimental features to be enabled.
Syntax
z_mergetoaddress ["fromaddress",...] "toaddress" ( fee transparent_limit shielded_limit "memo" )
Enabling
experimentalfeatures=1
zmergetoaddress=1
Parameters
Result
Examples
verus z_mergetoaddress '["ANY_SAPLING","RAddr..."]' "zs1..."
Related Commands
— Send to multiple addressesz_sendmany — Shield coinbase UTXOsz_shieldcoinbase — Track operationz_getoperationstatus
Notes
- Cannot merge from both Sprout and Sapling simultaneously.
- Selected UTXOs are locked during the operation.
- Protected coinbase UTXOs are ignored — use
z_shieldcoinbasefor those. - Max transaction size: 100KB (pre-Sapling) or 2MB (post-Sapling).
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified — not executed)
#
z_sendmany
Category: Wallet | Version: v1.2.14-2+
Send funds from one address to multiple recipients. Supports both transparent and shielded addresses. Returns an async operation ID.
Syntax
z_sendmany "fromaddress" [{"address":"...","amount":...},...] ( minconf fee )
Parameters
amounts array objects
Result
Examples
## Send from t-addr to z-addr
verus z_sendmany "RAddr..." '[{"address":"zs1...","amount":5.0}]'
## Send with memo
verus z_sendmany "zs1..." '[{"address":"zs1...","amount":1.0,"memo":"f600..."}]'
Common Errors
Related Commands
— Track send progressz_getoperationstatus — Get final resultz_getoperationresult — Transparent-only multi-sendsendmany — Consolidate UTXOs/notesz_mergetoaddress
Notes
- Asynchronous — returns immediately with an operation ID.
- Change from t-addr goes to a new t-addr; change from z-addr returns to itself.
- When sending coinbase UTXOs to z-addr, the entire UTXO value must be consumed (no change allowed).
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified — not executed)
#
z_setmigration
Category: Wallet | Version: v1.2.14-2+
Enables or disables the automatic Sprout to Sapling migration. When enabled, funds are gradually moved from Sprout to Sapling addresses.
Syntax
z_setmigration enabled
Parameters
Result
No return value on success.
Examples
verus z_setmigration true
verus z_setmigration false
Related Commands
— Check migration progressz_getmigrationstatus
Notes
- Migration sends up to 5 transactions every 500 blocks (at height ≡ 499 mod 500).
- Transaction amounts follow the distribution specified in ZIP 308 to minimize information leakage.
- Migration completes when Sprout balance falls below 0.01 VRSC.
- Destination is the Sapling account 0 address or the
-migrationdestaddressparameter. - May take several weeks for large Sprout balances.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
z_shieldcoinbase
Category: Wallet | Version: v1.2.14-2+
⚠️ DEPRECATED — THIS API IS DEPRECATED AND NOT NECESSARY TO USE ON VERUS OR STANDARD PBAAS NETWORKS. Shields transparent coinbase UTXOs by sending to a shielded z-address. Asynchronous operation. On Verus, coinbase outputs can be spent directly without shielding.
Syntax
z_shieldcoinbase "fromaddress" "tozaddress" ( fee limit )
Parameters
Result
Examples
verus z_shieldcoinbase "RAddr..." "zs1..."
verus z_shieldcoinbase "*" "zs1..."
Related Commands
— Merge UTXOs and notesz_mergetoaddress — Track operationz_getoperationstatus
Notes
- Deprecated on Verus — coinbase shielding is not required on Verus/PBaaS networks.
- Selected UTXOs are locked during the operation.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified — not executed)
#
z_viewtransaction
Category: Wallet | Version: v1.2.14-2+
Get detailed shielded information about an in-wallet transaction, including shielded spends and outputs.
Syntax
z_viewtransaction "txid"
Parameters
Result
spends array objects
outputs array objects
Examples
verus z_viewtransaction "7db301e131fe1edb78e2761f98a82b9440e073230f9f572f10f7f28b3eff7036"
Related Commands
— Get transparent transaction detailsgettransaction — List received notesz_listreceivedbyaddress
Notes
- Only works for transactions involving this wallet's shielded addresses.
- Provides the shielded spend/output details not visible in
gettransaction.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
zcbenchmark
Category: Wallet | Version: v1.2.14-2+
Runs a benchmark of the selected type for a specified number of samples, returning running times.
Syntax
zcbenchmark benchmarktype samplecount
Parameters
Result
JSON array of objects, each with a runningtime field.
[
{"runningtime": 0.123},
{"runningtime": 0.125}
]
Examples
verus zcbenchmark createjoinsplit 5
Related Commands
getinfo— General node information
Notes
- Primarily a developer/testing tool for measuring cryptographic operation performance.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified)
#
zcrawjoinsplit
Category: Wallet | Version: v1.2.14-2+
⚠️ DEPRECATED. Low-level command to splice a JoinSplit into a raw transaction. Inputs are unilaterally confidential; outputs are confidential between sender/receiver.
Syntax
zcrawjoinsplit rawtx inputs outputs vpub_old vpub_new
Parameters
Result
Notes
- ⚠️ DEPRECATED — Do not use for new development.
- Low-level Sprout JoinSplit operation.
- The caller must deliver encrypted notes to recipients and sign/mine the transaction.
- Use
z_sendmanyfor normal shielded transactions.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified — not executed)
#
zcrawkeygen
Category: Wallet | Version: v1.2.14-2+
⚠️ DEPRECATED. Generates a raw zcash address with secret key and viewing key.
Syntax
zcrawkeygen
Parameters
None.
Result
Notes
- ⚠️ DEPRECATED — Use
z_getnewaddressinstead. - Low-level Sprout key generation.
- Generated keys are NOT added to the wallet.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified — not executed)
#
zcrawreceive
Category: Wallet | Version: v1.2.14-2+
⚠️ DEPRECATED. Decrypts an encrypted note and checks if the coin commitment exists in the blockchain.
Syntax
zcrawreceive zcsecretkey encryptednote
Parameters
Result
Notes
- ⚠️ DEPRECATED — Use
z_listreceivedbyaddressorz_viewtransactioninstead. - Low-level Sprout note decryption.
Tested On
- VRSCTEST v1.2.14-2 — Block 926996 (help output verified — not executed)