• Beta

    Get the metadata of this contract

    Parameters

    • contract: RequiredParam<ValidContractInstance>

      an instance of a SmartContract

    Returns UseQueryResult

    a CustomContractMetadata object containing the metadata

    Example

    const { data: metadata, isLoading, error } = useMetadata(contract);
    

    See

    Documentation

Generated using TypeDoc