Skip to main content

core.classes.contract_platform_fee

ContractPlatformFee Objects

class ContractPlatformFee(Generic[TPlatformFeeABI])

get

def get() -> ContractPlatformFeeSchema

Get the platform fee of this contract.

Returns:

the platform fee.

set

def set(platform_fee_info: ContractPlatformFeeSchema) -> TxReceipt

Set the platform fee of this contract.

Arguments:

  • platform_fee_info: the platform fee info to set.

Returns:

the transaction receipt of setting the platform fee.