πGet Multisig Data by Address
Using the SDK, developers can retrieve information about a specific multisig wallet by providing its address. This includes details such as the signatories, threshold, and other relevant data associated with the multisig wallet.
const multisigAddress = '...' // multisig address for which you want to fetch details.
const { data, error } = await client.getMultisigDataByAddress(multisigAddress);
if (data){
console.log(data)
// use your data
}
else if(error){
console.log(error)
}Response Data
{
"data": {
"address": "5FbW5hCeZWgjfFXZNofSMkXMduS2fzFnfjuq59KmkYt6bDvD",
"created_at": "2023-05-16T13:09:25.681Z",
"updated_at": "2023-05-16T13:09:25.681Z",
"name": "Untitled Multisig",
"signatories": [],
"network": "rococo",
"threshold": 0
}
}Last updated