dao_update_members
Update DAO membership by adding, removing, or changing voting weights. Set a member's weight to zero to remove them. Requires group admin permissions. Signs and broadcasts an on-chain transaction.
Instructions
Use this when you need to add, remove, or change voting weights of DAO members. Signs and broadcasts an on-chain transaction. Set a member's weight to '0' to remove them. Provide 'dao' (name or address) OR 'group_id', plus 'member_updates' (array of {address, weight, metadata}). The caller must be the group admin. See also: dao_list_members, create_dao.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dao | No | DAO name or address (alternative to group_id) | |
| group_id | No | The cosmos group ID of the DAO | |
| member_updates | Yes | List of member updates. Set weight to 0 to remove a member. |