build

Builds the transaction and increments the source account's sequence number.

This method performs validation and constructs the final Transaction object. The source account's sequence number is incremented to ensure the next transaction uses a higher sequence number.

Return

The built Transaction

Throws

if required fields are missing or validation fails