Delete MPC Group

To delete an MPC group, use the deleteGroup() method with the following attribute: - keyGenGroupID : the keygen Group ID of master wallet

Example:


    func main() {
        let req = DeleteGroupRequest(groupID: "keyGenGroupID")
    
        // Initialize the MPC client
        let client = MPCClient()
        
        // Delete the MPC group
        client.deleteGroup(req))
    }

Last updated