multiversx_sdk.relayed package
Submodules
multiversx_sdk.relayed.errors module
multiversx_sdk.relayed.relayed_controller module
- class multiversx_sdk.relayed.relayed_controller.RelayedController(chain_id: str)[source]
Bases:
object
The Relayed Transactions V1 and V2 will soon be deprecated from the network. Please use Relayed Transactions V3 instead. The transactions are created from the perspective of the relayer. The ‘sender’ represents the relayer.
- create_relayed_v1_transaction(sender: IAccount, nonce: int, inner_transaction: Transaction) Transaction [source]
- create_relayed_v2_transaction(sender: IAccount, nonce: int, inner_transaction: Transaction, inner_transaction_gas_limit: int) Transaction [source]
multiversx_sdk.relayed.relayed_transactions_factory module
- class multiversx_sdk.relayed.relayed_transactions_factory.RelayedTransactionsFactory(config: TransactionsFactoryConfig)[source]
Bases:
object
The Relayed Transactions V1 and V2 will soon be deprecated from the network. Please use Relayed Transactions V3 instead. The transactions are created from the perspective of the relayer. The ‘sender’ represents the relayer.
- create_relayed_v1_transaction(inner_transaction: Transaction, relayer_address: Address) Transaction [source]
- create_relayed_v2_transaction(inner_transaction: Transaction, inner_transaction_gas_limit: int, relayer_address: Address) Transaction [source]
Module contents
- class multiversx_sdk.relayed.RelayedController(chain_id: str)[source]
Bases:
object
The Relayed Transactions V1 and V2 will soon be deprecated from the network. Please use Relayed Transactions V3 instead. The transactions are created from the perspective of the relayer. The ‘sender’ represents the relayer.
- create_relayed_v1_transaction(sender: IAccount, nonce: int, inner_transaction: Transaction) Transaction [source]
- create_relayed_v2_transaction(sender: IAccount, nonce: int, inner_transaction: Transaction, inner_transaction_gas_limit: int) Transaction [source]
- class multiversx_sdk.relayed.RelayedTransactionsFactory(config: TransactionsFactoryConfig)[source]
Bases:
object
The Relayed Transactions V1 and V2 will soon be deprecated from the network. Please use Relayed Transactions V3 instead. The transactions are created from the perspective of the relayer. The ‘sender’ represents the relayer.
- create_relayed_v1_transaction(inner_transaction: Transaction, relayer_address: Address) Transaction [source]
- create_relayed_v2_transaction(inner_transaction: Transaction, inner_transaction_gas_limit: int, relayer_address: Address) Transaction [source]