as_multi_threshold_1

Call v123 → current #0

Immediately dispatch a call using a single approval from the caller.

View calls on chain

Click items to navigate. Pan and zoom to explore.

Used by: developerswalletsvalidators

The Big Picture

Multisig accounts are deterministically generated from the list of signatories. This call dispatches from that account immediately when only one signature is needed.

Use Cases

  • Execute calls from a deterministic multisig address with single approval
  • Simplified multisig setup where only one signature is required
  • Transitional setup before adding more signatories

From Chain Metadata

Immediately dispatch a multi-signature call using a single approval from the caller. The dispatch origin for this call must be _Signed_. `other_signatories`: The accounts (other than the sender) who are part of the multi-signature, but do not participate in the approval process. `call`: The call to be executed. Result is equivalent to the dispatched result. ## Complexity O(Z + C) where Z is the length of the call and C its execution weight.

Input Parameters

#NameTypeDescription
0
other_signatories
Vec<AccountId> VecList of other signatory accounts (sorted, excludes caller)
1
call
RuntimeCall The call to execute immediately

Permissions

Origin
Signed
Required Role

Permission data inferred from metadata. May be incomplete.

Requirements

  • Caller is one of the signatories
  • Threshold is exactly 1 (single signer)
  • Call can be dispatched from multisig origin

Effects

Events Emitted

Postconditions

  • Call is executed immediately
  • Result reflects the dispatched call's outcome

Side Effects

  • No deposit required (no on-chain state for single-sig)
  • Equivalent to dispatching the call directly from the deterministic multisig account

Code Examples

import { ApiPromise, WsProvider } from "@polkadot/api";
import { stringCamelCase } from "@polkadot/util";

const provider = new WsProvider("wss://entrypoint-finney.opentensor.ai:443");
const api = await ApiPromise.create({ provider });

// Build as_multi_threshold_1 call
const other_signatories = "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY";
const call = 0 as any /* RuntimeCall */;

const call = api.tx[stringCamelCase("Multisig")][stringCamelCase("as_multi_threshold_1")](
  other_signatories,
  call
);

Runtime Info

Pallet Index
13
Call Index
0
First Version
v123
Current Version
v393