UTxO Statistics
status: stable
Return the UTxO distribution across the whole wallet, in the form of a histogram.
│
100 ─
│
│ ┌───┐
10 ─ ┌───┐ │ │ ┌───┐
│ ┌───┐ │ │ │ │ │ │
│ │ │ │ │ │ │ ┌───┐ │ │
1 ─ ┌───┐ │ │ │ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │ │ │ ╷ │ │ ╷ │ │ ╷ ╷ │ │
└─┘ └─│───────│─┘ └─│─┘ └─│─┘ └─│─┘ └─│───────│─┘ └────
10μ₳ 100μ₳ 1000μ₳ 0.1₳ 1₳ 10₳ 100₳
GET
/shared-wallets/{walletId}/statistics/utxos
curl \
-X GET https://localhost:8090/v2/shared-wallets/{walletId}/statistics/utxos
Response examples (404)
{
"message": "string",
"code": "no_such_wallet"
}
Response examples (406)
{
"message": "string",
"code": "not_acceptable"
}
Response examples (200)
{
"total": {
"quantity": 42000000,
"unit": "lovelace"
},
"scale": "log10",
"distribution": {
"10": 1,
"100": 0,
"1000": 8,
"10000": 14,
"100000": 32,
"1000000": 3,
"10000000": 0,
"100000000": 12,
"1000000000": 0,
"10000000000": 0,
"100000000000": 0,
"1000000000000": 0,
"10000000000000": 0,
"100000000000000": 0,
"1000000000000000": 0,
"10000000000000000": 0,
"45000000000000000": 0
}
}