set up endpoint for transactions and relationships