Using the SDK, developers can rename a multisig wallet by providing its address and a new name. This feature allows for better organization and identification of multisig wallets.
const multisigAddress = '...'; // multisig address for which you want to fetch details.
const newName = '...';
const { data, error } = await client.renameMultisig(multisigAddress, newName);
if (data){
console.log(data)
// use your data
}
else if(error){
console.log(error)
}