#
Address Index Commands
Placeholder convention: Examples in this reference use
<R-address>for the queried address andi...to mark a placeholder currency i-address (substitute the real one fromgetcurrency). Commands shown were tested on VRSCTEST — only project-specific values have been genericized.
#
getaddressbalance
Category: Addressindex | Version: v1.2.14+
Returns the balance for one or more addresses. Requires -addressindex=1 to be enabled.
Syntax
getaddressbalance {"addresses": ["address", ...], "friendlynames": bool}
Parameters
Result
{
"balance": 0,
"received": 0,
"currencybalance": {
"iCurrencyID": 0.00000000
},
"currencyreceived": {
"iCurrencyID": 0.00000000
}
}
Examples
verus -testnet getaddressbalance '{"addresses": ["<R-address>"]}'
Testnet output (address with multi-currency balance):
{
"balance": 5288370000,
"received": 52814070000,
"currencybalance": {
"i...": 109.99000000,
"iJhCezBExJHvtyH3fGhNnt2NhU4Ztkf2yq": 52.88370000
},
"currencyreceived": {
"i...": 109.99000000,
"iJhCezBExJHvtyH3fGhNnt2NhU4Ztkf2yq": 528.14070000
}
}
Common Errors
Related Commands
— Get unspent outputs for an addressgetaddressutxos — Get all changes for an addressgetaddressdeltas — Get transaction IDs for an addressgetaddresstxids
Notes
- Requires the daemon to be started with
-addressindex=1. - Balance is returned in satoshis (1 VRSC = 100,000,000 satoshis).
- Can query multiple addresses at once — balances are aggregated.
Tested On
- VRSCTEST — Block height: 926996 | Version: v1.2.14-2 (addressindex enabled)
#
getaddressdeltas
Category: Addressindex | Version: v1.2.14+
Returns all changes (deltas) for an address. Requires -addressindex=1.
Syntax
getaddressdeltas {"addresses": ["address"], "start": n, "end": n, "chaininfo": bool, "friendlynames": bool, "verbosity": n, "vdxftag": "string"}
Parameters
Result
[
{
"satoshis": 0,
"txid": "...",
"index": 0,
"height": 0,
"address": "..."
}
]
Examples
verus -testnet getaddressdeltas '{"addresses": ["<R-address>"], "start": 926980, "end": 926990}'
Testnet output:
[]
Common Errors
Related Commands
— Current balancegetaddressbalance — Just transaction IDsgetaddresstxids — Mempool-only deltasgetaddressmempool
Notes
- Use
startandendto limit the block range and improve performance. - Positive
satoshis= received, negative = spent. - The
vdxftagfilter is useful for querying VDXF-tagged outputs.
Tested On
- VRSCTEST — Block height: 926996 | Version: v1.2.14-2
#
getaddressmempool
Category: Addressindex | Version: v1.2.14+
Returns all mempool deltas for an address. Requires -addressindex=1.
Syntax
getaddressmempool {"addresses": ["address"], "friendlynames": bool, "verbosity": n}
Parameters
Result
[
{
"address": "...",
"txid": "...",
"index": 0,
"satoshis": 0,
"timestamp": 0,
"prevtxid": "...",
"prevout": "..."
}
]
Examples
verus -testnet getaddressmempool '{"addresses": ["<R-address>"]}'
Testnet output:
[]
Common Errors
Related Commands
— Confirmed deltasgetaddressdeltas — Current confirmed balancegetaddressbalance
Notes
- Only shows unconfirmed (mempool) transactions.
prevtxidandprevoutare present for spending transactions.- Empty result means no pending mempool transactions for the address.
Tested On
- VRSCTEST — Block height: 926996 | Version: v1.2.14-2
#
getaddresstxids
Category: Addressindex | Version: v1.2.14+
Returns the transaction IDs for one or more addresses. Requires -addressindex=1.
Syntax
getaddresstxids {"addresses": ["address"], "start": n, "end": n}
Parameters
Result
[
"transactionid",
...
]
Examples
verus -testnet getaddresstxids '{"addresses": ["<R-address>"]}'
Testnet output:
[]
Common Errors
Related Commands
— Balance summarygetaddressbalance — Full delta detailsgetaddressdeltas — Unspent outputsgetaddressutxos
Notes
- Use
start/endto limit the block range for large address histories. - Returns deduplicated transaction IDs.
Tested On
- VRSCTEST — Block height: 926996 | Version: v1.2.14-2
#
getaddressutxos
Category: Addressindex | Version: v1.2.14+
Returns all unspent outputs for one or more addresses. Requires -addressindex=1.
Syntax
getaddressutxos {"addresses": ["address"], "chaininfo": bool, "friendlynames": bool, "verbosity": n}
Parameters
Result
[
{
"address": "...",
"txid": "...",
"height": 0,
"outputIndex": 0,
"script": "...",
"satoshis": 0
}
]
Examples
verus -testnet getaddressutxos '{"addresses": ["<R-address>"]}'
Testnet output:
[]
Common Errors
Related Commands
— Aggregated balancegetaddressbalance — Transaction IDs onlygetaddresstxids — All changes including spentgetaddressdeltas
Notes
- Returns only unspent outputs (UTXOs), not spent ones.
scriptis the hex-encoded scriptPubKey.satoshisvalues can be used to construct raw transactions.
Tested On
- VRSCTEST — Block height: 926996 | Version: v1.2.14-2
#
getsnapshot
Category: Addressindex | Version: v1.2.14+
Returns a snapshot of (address, amount) pairs at the current height. Requires -addressindex=1.
Syntax
getsnapshot (top)
Parameters
Result
{
"addresses": [
{
"addr": "RMEBhzvATA8mrfVK82E5TgPzzjtaggRGN3",
"amount": "100.0"
}
],
"total": 123.45,
"average": 61.7,
"utxos": 14,
"total_addresses": 2,
"start_height": 91,
"ending_height": 91,
"start_time": 1531982752,
"end_time": 1531982752
}
Examples
## Get top 5 addresses by balance
verus -testnet getsnapshot 5
## Get full snapshot (can be very slow on large chains)
verus -testnet getsnapshot
Common Errors
Related Commands
— Balance for specific addressesgetaddressbalance — UTXOs for specific addressesgetaddressutxos
Notes
- ⚠️ Performance warning: Without the
topparameter, this scans the entire UTXO set and can take a very long time on chains with many addresses. - Useful for generating richlist data or distribution analysis.
- The snapshot is taken at the current block height.
Tested On
- VRSCTEST — Block height: 926996 | Version: v1.2.14-2
- Note: Full snapshot timed out due to large UTXO set; use
topparameter for practical use.