Function usePrimarySaleRecipient

  • Beta

    Get the primary sale recipient

    Parameters

    • contract: RequiredParam<ValidContractInstance>

      an instance of a SmartContract

    Returns UseQueryResult<string, unknown>

    the wallet address of the primary sales recipient

    Example

    const { data: primarySaleRecipient, isLoading, error } = usePrimarySalesRecipient(contract);
    

    Use this to get the primary sales recipient of your SmartContract

    Twfeature

    PrimarySale

    See

    Documentation

Generated using TypeDoc