added transaction and receipts record functions.