Is there a way to fetch available types and all predicates

Dgraph client can query schema. Please check this link. That link describes a method for querying specific predicates and types as well.