2. Create the TransactionΒΆ

The only additional arguments required to create a Transaction is the payload itself, and if a payload encoder was set, you need not even worry about encoding it as a binary. Optionally, you may override some of the default elements set in the TransactionEncoder on a Transaction by Transaction basis.