multiversx_sdk.transfers package
Submodules
multiversx_sdk.transfers.transfer_transactions_factory module
- class multiversx_sdk.transfers.transfer_transactions_factory.TransferTransactionsFactory(config: TransactionsFactoryConfig)[source]
Bases:
object
- create_transaction_for_esdt_token_transfer(sender: Address, receiver: Address, token_transfers: list[TokenTransfer]) Transaction [source]
- create_transaction_for_native_token_transfer(sender: Address, receiver: Address, native_amount: int, data: str | None = None) Transaction [source]
- create_transaction_for_transfer(sender: Address, receiver: Address, native_amount: int | None = None, token_transfers: list[TokenTransfer] | None = None, data: bytes | None = None) Transaction [source]
multiversx_sdk.transfers.transfers_controller module
- class multiversx_sdk.transfers.transfers_controller.TransfersController(chain_id: str)[source]
Bases:
object
- create_transaction_for_esdt_token_transfer(sender: IAccount, nonce: int, receiver: Address, token_transfers: list[TokenTransfer], guardian: Address | None = None, relayer: Address | None = None) Transaction [source]
- create_transaction_for_native_token_transfer(sender: IAccount, nonce: int, receiver: Address, native_transfer_amount: int = 0, data: bytes | None = None, guardian: Address | None = None, relayer: Address | None = None) Transaction [source]
- create_transaction_for_transfer(sender: IAccount, nonce: int, receiver: Address, native_transfer_amount: int | None = None, token_transfers: list[TokenTransfer] | None = None, data: bytes | None = None, guardian: Address | None = None, relayer: Address | None = None) Transaction [source]
Module contents
- class multiversx_sdk.transfers.TransferTransactionsFactory(config: TransactionsFactoryConfig)[source]
Bases:
object
- create_transaction_for_esdt_token_transfer(sender: Address, receiver: Address, token_transfers: list[TokenTransfer]) Transaction [source]
- create_transaction_for_native_token_transfer(sender: Address, receiver: Address, native_amount: int, data: str | None = None) Transaction [source]
- create_transaction_for_transfer(sender: Address, receiver: Address, native_amount: int | None = None, token_transfers: list[TokenTransfer] | None = None, data: bytes | None = None) Transaction [source]
- class multiversx_sdk.transfers.TransfersController(chain_id: str)[source]
Bases:
object
- create_transaction_for_esdt_token_transfer(sender: IAccount, nonce: int, receiver: Address, token_transfers: list[TokenTransfer], guardian: Address | None = None, relayer: Address | None = None) Transaction [source]
- create_transaction_for_native_token_transfer(sender: IAccount, nonce: int, receiver: Address, native_transfer_amount: int = 0, data: bytes | None = None, guardian: Address | None = None, relayer: Address | None = None) Transaction [source]
- create_transaction_for_transfer(sender: IAccount, nonce: int, receiver: Address, native_transfer_amount: int | None = None, token_transfers: list[TokenTransfer] | None = None, data: bytes | None = None, guardian: Address | None = None, relayer: Address | None = None) Transaction [source]