Function usePlatformFees

  • Beta

    Get the platform fee recipient and basis points

    Parameters

    • contract: RequiredParam<ValidContractInstance>

      an instance of a SmartContract

    Returns UseQueryResult<{
        platform_fee_basis_points: number;
        platform_fee_recipient: string;
    }, unknown>

    an object containing the platform fee basis points and the fee recipient address

    Example

    const { data: platformFees, isLoading, error } = usePlatformFees(contract);
    

    Twfeature

    PlatformFee

    See

    Documentation

Generated using TypeDoc