Skip to main content

core.classes.drop_erc1155_claim_conditions

DropERC1155ClaimConditions Objects

class DropERC1155ClaimConditions()

get_active

def get_active(token_id: int) -> ClaimCondition

Get the currently active claim condition

Arguments:

  • token_id: token ID of the token to get the active claim condition for.

Returns:

The currently active claim condition

get_all

def get_all(token_id: int) -> List[ClaimCondition]

Get all claim conditions on this contract

Arguments:

  • token_id: token ID of the token to get all claim conditions for.

Returns:

A list of all claim conditions on this contract