bittensor.core.extrinsics.start_call#
Functions#
|
Submits a start_call extrinsic to the blockchain, to trigger the start call process for a subnet (used to start a |
Module Contents#
- bittensor.core.extrinsics.start_call.start_call_extrinsic(subtensor, wallet, netuid, period=None, raise_error=False, wait_for_inclusion=True, wait_for_finalization=False)[source]#
Submits a start_call extrinsic to the blockchain, to trigger the start call process for a subnet (used to start a new subnet’s emission mechanism).
- Parameters:
subtensor (Subtensor) – The Subtensor client instance used for blockchain interaction.
wallet (Wallet) – The wallet used to sign the extrinsic (must be unlocked).
netuid (int) – The UID of the target subnet for which the call is being initiated.
period (Optional[int]) – The number of blocks during which the transaction will remain valid after it’s submitted. If the transaction is not included in a block within that number of blocks, it will expire and be rejected. You can think of it as an expiration date for the transaction.
raise_error (bool) – Raises a relevant exception rather than returning False if unsuccessful.
wait_for_inclusion (bool) – Whether to wait for the extrinsic to be included in a block.
wait_for_finalization (bool) – Whether to wait for finalization of the extrinsic.
- Returns:
The result object of the extrinsic execution.
- Return type: