Squads Protocol Side Track for Hyperdrive
Submit your project
  • Introduction
    • Hyperdrive Hackathon
    • What is Squads Protocol
    • Quickstart
  • Development
    • Overview
    • Instructions - Interact with the program
      • Create Multisig
      • Add Member
      • Add spending limit
      • Remove Spending Limit
      • Create Vault Transaction
      • Create Config Transaction
      • Create Proposal
      • Approve Transaction
      • Reject Proposal
      • Cancel Proposal
      • Execute Transaction
    • PDAs - Read data from the Program
      • Multisig Account Info
      • Transaction Account Info
      • Proposal Account Info
  • Reference
    • Accounts
    • Spending Limits
    • Time-locks
    • Permissions
    • SDKs
    • Transaction Builder
  • Squads CLI
    • Installation
    • Commands
  • Submissions
    • Submit your project
    • Get support
Powered by GitBook
On this page
  1. Development
  2. PDAs - Read data from the Program

Multisig Account Info

PreviousPDAs - Read data from the ProgramNextTransaction Account Info

To fetch the account info of a Multisig, you need its account address. The Multisig account address gets derived from its unique createKey. Here's how you can find the multisig account address using the Squads Typescript SDK:

Let's set the code up

import * as multisig from "@sqds/multisig";

const {
    Multisig
} = multisig.accounts;

const [multisigPda] = multisig.getMultisigPda({
    createKey,
});

Let's fetch the Multisig Account Info

      const multisigAccount = await Multisig.fromAccountAddress(
        connection,
        multisigPda
      );
// Log out the multisig's members
console.log("Members", multisigAccount.members);

For more information on the structure of a Multisig account, head to its .

reference