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 Queue

The SDK provides the ability to retrieve the list of pending transactions in the multisig queue. Developers can utilize this functionality to keep track of pending transactions and their status.

const multisigAddress = '...'; // multisig address for which you want to fetch details.
const limit = 10;
const page = 1;

const { data, error } = await client.getMultisigQueue(multisigAddress, 1, 10);

if (data){
    console.log(data)
    // use your data
}
else if(error){
    console.log(error)
}

Response Data

[
  {
    "callData": "0x1e0000993e3543815c927847276796f0b8e5c537fcd8a1494ea955ff720bb2fff3b64b001e02001b363e3a3e4ccf78f3d7fccb044f583b8fd96e3e5e626f4a4bfee7f44a036ab30000000000",
    "callHash": "0x1e611cfbff5c5258dc5b1052da5ebbd9569e044e3dbf2da1ae89debc40649fb7",
    "status": "Approval",
    "network": "rococo",
    "created_at": "2023-05-12T19:27:00.000Z",
    "threshold": 4,
    "approvals": [
      "5FbW5hCeZWgjfFXZNofSMkXMduS2fzFnfjuq59KmkYt6bDvD"
    ],
    "note": "Removing Old Multisig from Proxy"
  }
]
PreviousGet Assets for Multisig AddressNextRename Multisig

Last updated 1 year ago

๐Ÿ“ฅ
Generic Error