Wallet Status
The Wallet Status provides a quick overview of the contents of the wallet. Note that pmob calculations do not include view-only-accounts
Attributes
Name
Type
Description
network_block_height
string (uint64)
The block count of MobileCoin's distributed ledger.
local_block_height
string (uint64)
The local block count downloaded from the ledger. The local database is synced when the local_block_height
reaches the network_block_height
. The account_block_height can only sync up to local_block_height
.
is_synced_all
Boolean
Whether ALL accounts are synced with the network_block_height
. Balances may not appear correct if any account is still syncing.
balance_per_token
map (string, Balance)
Map of balances for each token that is present in the wallet
account_ids
list
A list of all account_ids
imported into the wallet in order of import.
account_map
hash map
A normalized hash mapping account_id
to account objects.
​Example
{
"wallet_status": {
"account_ids": [
"b0be5377a2f45b1573586ed530b2901a559d9952ea8a02f8c2dbb033a935ac17",
"6ed6b79004032fcfcfa65fa7a307dd004b8ec4ed77660d36d44b67452f62b470"
],
"account_map": {
"6ed6b79004032fcfcfa65fa7a307dd004b8ec4ed77660d36d44b67452f62b470": {
"account_id": "6ed6b79004032fcfcfa65fa7a307dd004b8ec4ed77660d36d44b67452f62b470",
"key_derivation_version:": "2",
"main_address": "CaE5bdbQxLG2BqAYAz84mhND79iBSs13ycQqN8oZKZtHdr6KNr1DzoX93c6LQWYHEi5b7YLiJXcTRzqhDFB563Kr1uxD6iwERFbw7KLWA6",
"name": "Bob",
"next_subaddress_index": "2",
"first_block_index": "3500",
"object": "account",
"recovery_mode": false
},
"b0be5377a2f45b1573586ed530b2901a559d9952ea8a02f8c2dbb033a935ac17": {
"account_id": "b0be5377a2f45b1573586ed530b2901a559d9952ea8a02f8c2dbb033a935ac17",
"key_derivation_version:": "2",
"main_address": "7JvajhkAZYGmrpCY7ZpEiXRK5yW1ooTV7EWfDNu3Eyt572mH1wNb37BWiU6JqRUvgopPqSVZRexhXXpjF3wqLQR7HaJrcdbHmULujgFmzav",
"name": "Brady",
"next_subaddress_index": "2",
"first_block_index": "3500",
"object": "account",
"recovery_mode": false
}
},
"is_synced_all": false,
"local_block_height": "152918",
"network_block_height": "152918",
"balance_per_token": {
"0": {
"orphaned": "0",
"pending": "70148220000000000",
"secreted": "0",
"spent": "0",
"unspent": "220588320000000000",
"unverified": "1300004044440000"
},
"1": {
"orphaned": "0",
"pending": "70148220000000000",
"secreted": "0",
"spent": "0",
"unspent": "220588320000000000",
"unverified": "1300004044440000"
}
}
}
Last updated
Was this helpful?