0xWeb
Search
K
📤

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🔗

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🔗 to write transaction states to a log file using 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