# Tx Writer

> You won't need to use this class directly. In `0xWeb` generated classes `TxDataBuilder` and `TxWriter` are used under the hood to send transactions.

#### [TxWriter](https://github.com/0xweb-org/dequanto/blob/master/src/txs/TxWriter.ts)🔗

#### Retryable `sendTransaction`  for:

* `Time-out` — if not mined within a time, will resubmit the tx with increased gas.
* `NonceTooLow` — resets the nonce automatically
* `InsufficientFunds` — a funder account can be set. If the sender doesn't have the required amount to cover the `gaslimit`, the account will be funded before sending the transaction

#### Logger

Adds [TxLogger](https://github.com/0xweb-org/dequanto/blob/master/src/txs/TxLogger.ts)🔗 to write transaction states to a log file using [everlog](https://github.com/atmajs/everlog)🔗

#### Transaction Events Parser

Automatically parses known Events, like `Transfer`. If ABI is used to build the transaction, then it will parse also all events which were defined in the ABI
