STATUS | Loan Volume | # Borrowers | # Lenders | # Loans | |
---|---|---|---|---|---|
1 | A: < 0.001 BTC | 1.08229586 | 1891 | 950 | 1426 |
2 | G: [0.4-0.5) BTC | 112.055954 | 137 | 92 | 257 |
3 | H: [0.5-1) BTC | 80.99532095 | 68 | 48 | 139 |
4 | B: [0.001-0.01) BTC | 35.40308763 | 2517 | 2218 | 7294 |
5 | C: [0.01-0.1) BTC | 417.14697438 | 2119 | 1882 | 11060 |
6 | E: [0.2-0.3) BTC | 486.21284888 | 616 | 407 | 1992 |
7 | D: [0.1-0.2) BTC | 420.81519829 | 767 | 680 | 2922 |
8 | F: [0.3-0.4) BTC | 316.4328647 | 376 | 233 | 950 |
9 | I: > 1 BTC | 16.2594 | 7 | 8 | 11 |
Arioliquidium - Distribution of Loans by Amount
Updated 2025-01-31
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
with loan_data as (
select
block_timestamp,
CASE WHEN unique_user_condition THEN tx2_out END AS borrower,
CASE WHEN unique_user_condition THEN tx3_out END AS lender,
CASE WHEN unique_user_condition THEN tx1_out END AS loan_id,
val2_out AS amount,
val2_out * price as Amount_USD
FROM
(
SELECT
*
FROM
(
SELECT
tx_id,
MAX(block_timestamp) as block_timestamp,
MAX(CASE WHEN input.index = 0 THEN input.PUBKEY_SCRIPT_ADDRESS END) as tx1_in,
MAX(CASE WHEN input.index = 1 THEN input.PUBKEY_SCRIPT_ADDRESS END) as tx2_in,
MAX(CASE WHEN input.index = 2 THEN input.PUBKEY_SCRIPT_ADDRESS END) as tx3_in,
MAX(CASE WHEN input.index = 3 THEN input.PUBKEY_SCRIPT_ADDRESS END) as tx4_in,
MAX(CASE WHEN input.index = 4 THEN input.PUBKEY_SCRIPT_ADDRESS END) as tx5_in,
MAX(CASE WHEN input.index = 5 THEN input.PUBKEY_SCRIPT_ADDRESS END) as tx6_in,
MAX(CASE WHEN input.index = 6 THEN input.PUBKEY_SCRIPT_ADDRESS END) as tx7_in,
MAX(CASE WHEN input.index = 7 THEN input.PUBKEY_SCRIPT_ADDRESS END) as tx8_in,
MAX(CASE WHEN input.index = 8 THEN input.PUBKEY_SCRIPT_ADDRESS END) as tx9_in,
MAX(CASE WHEN input.index = 9 THEN input.PUBKEY_SCRIPT_ADDRESS END) as tx10_in,
MAX(CASE WHEN output.index = 0 THEN output.PUBKEY_SCRIPT_ADDRESS END) as tx1_out,
MAX(CASE WHEN output.index = 0 THEN output.VALUE END) as val1_out,
MAX(CASE WHEN output.index = 1 THEN output.PUBKEY_SCRIPT_ADDRESS END) as tx2_out,
MAX(CASE WHEN output.index = 1 THEN output.VALUE END) as val2_out,
MAX(CASE WHEN output.index = 2 THEN output.PUBKEY_SCRIPT_ADDRESS END) as tx3_out,
MAX(CASE WHEN output.index = 2 THEN output.VALUE END) as val3_out,
MAX(CASE WHEN output.index = 3 THEN output.PUBKEY_SCRIPT_ADDRESS END) as tx4_out,
MAX(CASE WHEN output.index = 3 THEN output.VALUE END) as val4_out,
Last run: 3 months ago
9
400B
299s