Answer: indirect object
Explanation: this sort of confusing but I think in this case the book is the "direct object" because you are selling what? the book. And who gets the book? "Me". I think the book is seemed as something more important because if you were to say "the book was sold to me" I think then the direct object is "me" because it is seemed as more important. Hope you get it correct!