updated graph api; included transaction api