Developers can use the SDK to add addresses to the address book associated with a multisig wallet. This functionality simplifies the management of addresses and provides a convenient way to keep track of contacts.
const address = '...' // The address you want to add to your address book
const name = 'Mat' // The name you want to assign to the address
const { data, error } = await client.addToAddressBook(address, name);
if (data){
console.log(data)
// use your data
}
else if(error){
console.log(error)
}