Handles formatting and validation of transactions for Scrappy