Air-Hodl

​dappairhodl1​

​get_dapphdl_accounts - get an account’s DAPPHDL stats

1
/*
2
3
airhodl.get_dapphdl_accounts
4
* account name
5
​
6
*/
7
​
8
const response = await (await getClient()).airhodl.get_dapphdl_accounts('natdeveloper');
9
for (const row of response.rows) {
10
console.log(row);
11
// {
12
// balance: '0.0033 DAPPHDL',
13
// allocation: '0.0199 DAPPHDL',
14
// staked: '0.0000 DAPPHDL',
15
// claimed: 1
16
// }
17
}
Copied!
Copy link
Contents
dappairhodl1