multiversx_sdk.account_management package

Submodules

multiversx_sdk.account_management.account_controller module

class multiversx_sdk.account_management.account_controller.AccountController(chain_id: str)[source]

Bases: object

create_transaction_for_guarding_account(sender: IAccount, nonce: int, relayer: Address | None = None) Transaction[source]
create_transaction_for_saving_key_value(sender: IAccount, nonce: int, key_value_pairs: dict[bytes, bytes], guardian: Address | None = None, relayer: Address | None = None) Transaction[source]
create_transaction_for_setting_guardian(sender: IAccount, nonce: int, guardian_address: Address, service_id: str, relayer: Address | None = None) Transaction[source]
create_transaction_for_unguarding_account(sender: IAccount, nonce: int, guardian: Address, relayer: Address | None = None) Transaction[source]

multiversx_sdk.account_management.account_transactions_factory module

class multiversx_sdk.account_management.account_transactions_factory.AccountTransactionsFactory(config: TransactionsFactoryConfig)[source]

Bases: object

create_transaction_for_guarding_account(sender: Address) Transaction[source]
create_transaction_for_saving_key_value(sender: Address, key_value_pairs: dict[bytes, bytes]) Transaction[source]
create_transaction_for_setting_guardian(sender: Address, guardian_address: Address, service_id: str) Transaction[source]
create_transaction_for_unguarding_account(sender: Address, guardian: Address) Transaction[source]

Module contents

class multiversx_sdk.account_management.AccountController(chain_id: str)[source]

Bases: object

create_transaction_for_guarding_account(sender: IAccount, nonce: int, relayer: Address | None = None) Transaction[source]
create_transaction_for_saving_key_value(sender: IAccount, nonce: int, key_value_pairs: dict[bytes, bytes], guardian: Address | None = None, relayer: Address | None = None) Transaction[source]
create_transaction_for_setting_guardian(sender: IAccount, nonce: int, guardian_address: Address, service_id: str, relayer: Address | None = None) Transaction[source]
create_transaction_for_unguarding_account(sender: IAccount, nonce: int, guardian: Address, relayer: Address | None = None) Transaction[source]
class multiversx_sdk.account_management.AccountTransactionsFactory(config: TransactionsFactoryConfig)[source]

Bases: object

create_transaction_for_guarding_account(sender: Address) Transaction[source]
create_transaction_for_saving_key_value(sender: Address, key_value_pairs: dict[bytes, bytes]) Transaction[source]
create_transaction_for_setting_guardian(sender: Address, guardian_address: Address, service_id: str) Transaction[source]
create_transaction_for_unguarding_account(sender: Address, guardian: Address) Transaction[source]