Developers can create proxy accounts for multisig wallets using the SDK. This feature enables multisig wallets to interact with other contracts or perform actions on behalf of the linked proxy account.
Note: Astar does not support Proxy functionality.
const multisigAddress = '...'; // multisig address for which you want create proxy.
// A function that takes a single parameter.
const eventGrabber = (message)=>{
// use message to track transaction progress and events using eventGrabber for real-time visibility
console.log(message)
}
const { data, error } = await client.createProxy(multisigAddress, eventGrabber);
if (data){
console.log(data)
// use your data
}
else if(error){
console.log(error)
}