Optimize retrieval of master address

This commit is contained in:
Michał Sałaban 2019-10-07 23:36:31 +02:00
parent a184c3bea2
commit 8f888d2aca
8 changed files with 65 additions and 47 deletions

View file

@ -0,0 +1,18 @@
{
"id": 0,
"jsonrpc": "2.0",
"result": {
"subaddress_accounts": [
{
"account_index": 0,
"balance": 21676544656446,
"base_address": "596ETuuDVZSNox73YLctrHaAv72fBboxy3atbEMnP3QtdnGFS9KWuHYGuy831SKWLUVCgrRfWLCxuCZ2fbVGh14X7mFrefy",
"label": "Primary account",
"tag": "",
"unlocked_balance": 21479383257259
}
],
"total_balance": 21676544656446,
"total_unlocked_balance": 21479383257259
}
}

View file

@ -0,0 +1,15 @@
{
"id": 0,
"jsonrpc": "2.0",
"result": {
"address": "596ETuuDVZSNox73YLctrHaAv72fBboxy3atbEMnP3QtdnGFS9KWuHYGuy831SKWLUVCgrRfWLCxuCZ2fbVGh14X7mFrefy",
"addresses": [
{
"address": "596ETuuDVZSNox73YLctrHaAv72fBboxy3atbEMnP3QtdnGFS9KWuHYGuy831SKWLUVCgrRfWLCxuCZ2fbVGh14X7mFrefy",
"address_index": 0,
"label": "Primary account",
"used": true
}
]
}
}