added add transaction
added get transaction
now the APIS support base Exception errors