A class for batching and sending transaction to circuit.
The main functionality here is signAndSendSafe, which takes care of nonce incrementation and error decoding.
This is supposed to act as a default way of dealing with extrinsics.
Recommended when looking to send multiple TXs in a single block.
This function queries the correct nonce and then submits the transaction.
This should not be used when submitting transactions in fast succession as the nonce won't have time to update.
In that case use the optimistic send or batch the transaction.
If an error occurs, it is decoded and returned in the promise.
Returns the block height the transaction was included in.
A class for batching and sending transaction to circuit. The main functionality here is signAndSendSafe, which takes care of nonce incrementation and error decoding. This is supposed to act as a default way of dealing with extrinsics.