Tries to build the relayed v2 transaction based on the previously set fields. It returns a transaction that isn't signed
Transaction
ErrInvalidRelayedV2BuilderArguments
ErrGasLimitShouldBe0ForInnerTransaction
Sets the inner transaction to be used. It has to be already signed and with gasLimit set to 0. These checks are performed on the build() method
The inner transaction to be used
Sets the gas limit to be used for the SC Call inside the inner transaction
The gas limit to be used. The inner transaction needs to have the gas limit set to 0, so this field will specify the gas to be used for the SC call of the inner transaction
Sets the network config to be used for building the relayed v2 transaction
The network configuration to be used
Sets the address of the relayer (the one that will actually pay the fee)
(optional) Sets the nonce of the relayer
Deprecated
Use RelayedTransactionsFactory instead.