multiversx_sdk.builders package

Submodules

multiversx_sdk.builders.token_transfers_data_builder module

class multiversx_sdk.builders.token_transfers_data_builder.TokenTransfersDataBuilder(token_computer: TokenComputer)[source]

Bases: object

FOR INTERNAL USE ONLY. Used for the transactions factories.

build_args_for_esdt_transfer(transfer: TokenTransfer) list[str][source]
build_args_for_multi_esdt_nft_transfer(receiver: Address, transfers: list[TokenTransfer]) list[str][source]
build_args_for_single_esdt_nft_transfer(transfer: TokenTransfer, receiver: Address) list[str][source]

multiversx_sdk.builders.transaction_builder module

class multiversx_sdk.builders.transaction_builder.TransactionBuilder(config: TransactionsFactoryConfig, sender: Address, receiver: Address, data_parts: list[str], gas_limit: int, add_data_movement_gas: bool, amount: int | None = None)[source]

Bases: object

FOR INTERNAL USE ONLY. Used for the transactions factories.

build() Transaction[source]
build_transaction_payload(parts: list[str]) bytes[source]
compute_gas_limit(payload: bytes) int[source]

Module contents