Polkasafe SDK
  • ๐Ÿ›…Polkasafe SDK
  • ๐Ÿ“”What is polkadot.JS?
  • Getting started
    • ๐Ÿ”ƒInstallation
    • ๐Ÿ‘จโ€๐ŸซUsage Guide
  • Guides and tutorials
    • ๐Ÿ”—Connect Address
    • ๐Ÿ‘ฅCreate Multisig
    • ๐ŸคAdd to Address Book
    • โŽRemove from Address Book
    • ๐Ÿ“ŠGet Multisig Data by Address
    • ๐ŸงพGet Transactions for Multisig
    • ๐Ÿ’ธGet Assets for Multisig Address
    • ๐Ÿ“ฅGet Multisig Queue
    • โœ๏ธRename Multisig
    • โŒDelete Multisig
    • โœจCreate Proxy
    • ๐Ÿ“Edit Multisig
    • ๐Ÿ’ฐTransfer Funds
    • ๐Ÿ—ณ๏ธApprove Transaction
    • โ›”Cancel Transaction
    • ๐ŸˆบCustom Transaction
    • โ‰๏ธGeneric Errors
  • ๐Ÿ“งSupport and Contact
Powered by GitBook
On this page
  1. Guides and tutorials

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
  }
}
PreviousRemove from Address BookNextGet Transactions for Multisig

Last updated 1 year ago

๐Ÿ“Š
Generic Error