Update params to send transaction_type instead of type