algofi_user

class algofipy.algofi_user.AlgofiUser(algofi_client, address)

Bases: object

is_opted_in_to_asset(asset_id)

Checks if user is opted is into a given asset

Parameters:

asset_id (int) – id of the asset

Returns:

True if opted in, False otherwise

Return type:

bool

load_state(block=None)

Populates state on the AlgofiUser object

Parameters:

block (int, optional) – block at which to query algofi user’s state