pub fn batch<T: Config>(calls: Vec<<T as Config>::RuntimeCall>)
Send a batch of dispatch calls.
May be called from any origin except
calls: The calls to be dispatched from the same origin. The number of call must not exceed the constant:
batched_calls_limit(available in constant metadata).
If origin is root then the calls are dispatched without checking origin filter. (This
- O(C) where C is the number of calls to be batched.
This will return
Ok in all circumstances. To determine the success of the batch, an
event is deposited. If a call failed and the batch was interrupted, then the
BatchInterrupted event is deposited, along with the number of successful calls made
and the error of the failed call. If all were successful, then the
event is deposited.
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in