Function useRoyaltySettings

  • Beta

    Get the royalty recipient and fee

    Parameters

    • contract: RequiredParam<ValidContractInstance>

      an instance of a SmartContract

    Returns UseQueryResult<{
        fee_recipient: string;
        seller_fee_basis_points: number;
    }, unknown>

    an object containing recipient address and the royalty basis points

    Example

    const { data: settings, isLoading, error } = useRoyaltySettings(contract);
    

    Twfeature

    Royalty

    See

    Documentation

Generated using TypeDoc