Skip to main content

core.classes.contract_metadata

ContractMetadata Objects

class ContractMetadata(Generic[TMetadataABI, TContractSchema])

get

def get() -> TContractSchema

Get the metadata associated with this contract.

Returns:

metadata associated with this contract

set

def set(metadata: TContractSchema) -> TxReceipt

Set the metadata associated with this contract.

Arguments:

  • metadata: metadata to set

Returns:

transaction receipt of setting the metadata