Somebody defrauds you by using sleight of hand (literal or figurative) to “palm” the object you wanted and give you something inferior instead. The expression is not “to pawn off,” but “to palm off.”