balance
- Model
- Chart
Get info about tokens on you ethereum blockchain balance. Eth balance, balance of all tokens which
Source Code: [link]
openbb.crypto.onchain.balance(address: str, sortby: str = "index", ascend: bool = False)
Parameters
Name | Type | Description | Default | Optional |
---|---|---|---|---|
address | str | Blockchain balance e.g. 0x3cD751E6b0078Be393132286c442345e5DC49699 | None | False |
sortby | str | Key to sort by. | index | True |
ascend | str | Sort in descending order. | False | True |
Returns
Type | Description |
---|---|
pd.DataFrame | DataFrame with list of tokens and their balances. |
Display info about tokens for given ethereum blockchain balance e.g. ETH balance,
Source Code: [link]
openbb.crypto.onchain.balance_chart(address: str, limit: int = 15, sortby: str = "index", ascend: bool = False, export: str = "", sheet_name: Optional[str] = None)
Parameters
Name | Type | Description | Default | Optional |
---|---|---|---|---|
address | str | Ethereum balance. | None | False |
limit | int | Limit of transactions. Maximum 100 | 15 | True |
sortby | str | Key to sort by. | index | True |
ascend | str | Sort in descending order. | False | True |
export | str | Export dataframe data to csv,json,xlsx file | True |
Returns
This function does not return anything