Notifications

Notifications

class Notifications(**kwargs)

Implements the notifications api endpoints.

sync(sync_from: Union[pystratis.core.types.uint256.uint256, str], **kwargs) → None

Begin synchronizing the chain from the provided block height or block hash.

Parameters:
  • sync_from (uint256, str) – The block hash to start syncing at.
  • **kwargs – Extra keyword arguments.
Returns:

None

Raises:

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