Balances

Balances

class Balances(**kwargs)

Implements the balances api endpoints.

over_amount_at_height(block_height: int, amount: Union[pystratis.core.types.money.Money, int, float, decimal.Decimal], **kwargs) → List[pystratis.core.types.address.Address]

Returns a list of addresses with balance over specified amount at the given chain height.

Parameters:
  • block_height (int) – The specified chain height.
  • amount (Money, int, float, Decimal) – The specified amount in coin units.
Returns:

A list of addresses meeting the criteria.

Return type:

List[Address]

Raises:

APIError – Error thrown by node API. See message for details.