pub async fn create_multisig(
quantus_client: &QuantusClient,
creator_keypair: &QuantumKeyPair,
signers: Vec<AccountId32>,
threshold: u32,
nonce: u64,
wait_for_inclusion: bool,
) -> Result<(H256, Option<String>)>Expand description
Create a multisig account
§Arguments
quantus_client- Connected Quantus clientcreator_keypair- Keypair of the account creating the multisigsigners- List of signer addresses (AccountId32)threshold- Number of approvals requirednonce- Nonce for deterministic address (allows multiple multisigs with same signers)wait_for_inclusion- Whether to wait for transaction inclusion
§Returns
Transaction hash and optionally the multisig address (if wait_for_inclusion=true)