multiversx_sdk.entrypoints package
Submodules
multiversx_sdk.entrypoints.config module
- class multiversx_sdk.entrypoints.config.DevnetEntrypointConfig[source]
Bases:
object
- chain_id = 'D'
- network_provider_kind = 'api'
- network_provider_url = 'https://devnet-api.multiversx.com'
multiversx_sdk.entrypoints.entrypoints module
- class multiversx_sdk.entrypoints.entrypoints.DevnetEntrypoint(url: str | None = None, kind: str | None = None)[source]
Bases:
NetworkEntrypoint
- class multiversx_sdk.entrypoints.entrypoints.MainnetEntrypoint(url: str | None = None, kind: str | None = None)[source]
Bases:
NetworkEntrypoint
- class multiversx_sdk.entrypoints.entrypoints.NetworkEntrypoint(network_provider_url: str, network_provider_kind: str, chain_id: str)[source]
Bases:
object
- await_transaction_completed(tx_hash: str | bytes) TransactionOnNetwork [source]
- create_account_controller() AccountController [source]
- create_account_transactions_factory() AccountTransactionsFactory [source]
- create_delegation_controller() DelegationController [source]
- create_delegation_transactions_factory() DelegationTransactionsFactory [source]
- create_network_provider() ApiNetworkProvider | ProxyNetworkProvider [source]
- create_relayed_controller() RelayedController [source]
- create_relayed_transactions_factory() RelayedTransactionsFactory [source]
- create_smart_contract_controller(abi: Abi | None = None) SmartContractController [source]
- create_smart_contract_transactions_factory(abi: Abi | None = None) SmartContractTransactionsFactory [source]
- create_token_management_controller() TokenManagementController [source]
- create_token_management_transactions_factory() TokenManagementTransactionsFactory [source]
- create_transfers_controller() TransfersController [source]
- create_transfers_transactions_factory() TransferTransactionsFactory [source]
- get_transaction(tx_hash: str | bytes) TransactionOnNetwork [source]
- send_transaction(transaction: Transaction) bytes [source]
- send_transactions(transactions: list[Transaction]) tuple[int, list[bytes]] [source]
Sends multiple transactions.
- Args:
transactions (list[Transaction]): An iterable containing multiple transactions (e.g. a list of transactions).
- Returns:
tuple (int, list[bytes]): The integer indicates the total number of transactions sent, while the list contains the transactions hashes. If a transaction is not sent, the hash is empty.
- verify_transaction_signature(transaction: Transaction) bool [source]
- class multiversx_sdk.entrypoints.entrypoints.TestnetEntrypoint(url: str | None = None, kind: str | None = None)[source]
Bases:
NetworkEntrypoint
multiversx_sdk.entrypoints.errors module
Module contents
- class multiversx_sdk.entrypoints.DevnetEntrypoint(url: str | None = None, kind: str | None = None)[source]
Bases:
NetworkEntrypoint
- class multiversx_sdk.entrypoints.MainnetEntrypoint(url: str | None = None, kind: str | None = None)[source]
Bases:
NetworkEntrypoint
- class multiversx_sdk.entrypoints.NetworkEntrypoint(network_provider_url: str, network_provider_kind: str, chain_id: str)[source]
Bases:
object
- await_transaction_completed(tx_hash: str | bytes) TransactionOnNetwork [source]
- create_account_controller() AccountController [source]
- create_account_transactions_factory() AccountTransactionsFactory [source]
- create_delegation_controller() DelegationController [source]
- create_delegation_transactions_factory() DelegationTransactionsFactory [source]
- create_network_provider() ApiNetworkProvider | ProxyNetworkProvider [source]
- create_relayed_controller() RelayedController [source]
- create_relayed_transactions_factory() RelayedTransactionsFactory [source]
- create_smart_contract_controller(abi: Abi | None = None) SmartContractController [source]
- create_smart_contract_transactions_factory(abi: Abi | None = None) SmartContractTransactionsFactory [source]
- create_token_management_controller() TokenManagementController [source]
- create_token_management_transactions_factory() TokenManagementTransactionsFactory [source]
- create_transfers_controller() TransfersController [source]
- create_transfers_transactions_factory() TransferTransactionsFactory [source]
- get_transaction(tx_hash: str | bytes) TransactionOnNetwork [source]
- send_transaction(transaction: Transaction) bytes [source]
- send_transactions(transactions: list[Transaction]) tuple[int, list[bytes]] [source]
Sends multiple transactions.
- Args:
transactions (list[Transaction]): An iterable containing multiple transactions (e.g. a list of transactions).
- Returns:
tuple (int, list[bytes]): The integer indicates the total number of transactions sent, while the list contains the transactions hashes. If a transaction is not sent, the hash is empty.
- verify_transaction_signature(transaction: Transaction) bool [source]
- class multiversx_sdk.entrypoints.TestnetEntrypoint(url: str | None = None, kind: str | None = None)[source]
Bases:
NetworkEntrypoint