holders
- Model
- Chart
Get info about top token holders. [Source: Ethplorer]
Source Code: [link]
openbb.crypto.onchain.holders(address: str, sortby: str = "balance", ascend: bool = True)
Parameters
Name | Type | Description | Default | Optional |
---|---|---|---|---|
address | str | Token balance e.g. 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984 | None | False |
sortby | str | Key to sort by. | balance | True |
ascend | str | Sort in descending order. | True | True |
Returns
Type | Description |
---|---|
pd.DataFrame | DataFrame with list of top token holders. |
Display info about top ERC20 token holders. [Source: Ethplorer]
Source Code: [link]
openbb.crypto.onchain.holders_chart(address: str, limit: int = 10, sortby: str = "balance", ascend: bool = True, export: str = "")
Parameters
Name | Type | Description | Default | Optional |
---|---|---|---|---|
address | str | Token balance e.g. 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984 | None | False |
limit | int | Limit of transactions. Maximum 100 | 10 | True |
sortby | str | Key to sort by. | balance | True |
ascend | str | Sort in descending order. | True | True |
export | str | Export dataframe data to csv,json,xlsx file | True |
Returns
This function does not return anything