Squads Docs
Development
Development
  • Introduction
    • What is Squads Protocol
    • Use Cases
    • Quickstart
  • Typescript
    • Overview
    • Instructions
      • Create Multisig
      • Create Config Transaction
      • Create Vault Transaction
      • Create Proposal
      • Approve Proposal
      • Reject Proposal
      • Cancel Proposal
      • Execute Config Transaction
      • Execute Vault Transaction
      • Create Batch
      • Add To Batch
      • Close Vault Transaction Account
      • Controlled Multisig Instructions
        • Add Member
        • Remove Member
        • Set Rent Collector
        • Add spending limit
        • Remove Spending Limit
    • Accounts
      • Multisig
      • Vault
      • Transactions
      • Proposal
      • Batch
  • Reference
    • Accounts
    • Permissions
    • Spending Limits
    • Time-locks
    • SDKs
    • Controlled Multisigs
  • API
    • Vault Check
  • CLI
    • Installation
    • Commands
  • Get Support
    • We're here to help
  • Other
    • Migrating from MultisigCreate v1 to v2
    • Squads Actions and Blinks
Powered by GitBook
On this page
  • Program ID
  • Interacting
  • Table of Contents
  1. Typescript

Overview

Build with the Squads v4 Typescript SDK

This section is made for developers wanting to integrate Squads Protocol into their own projects by interacting with v4.

It is structured as straightforward as possible with two sections, with the first being how to read data from the v4 program and the second being how to interact with it. In each section you will be able to find a detailed list of every account and instruction included in the Squads v4 SDK and Crate.

Program ID

The Squads V4 program is deployed on the Solana mainnet-beta cluster.

SQDS4ep65T869zMMBKyuUq6aD6EgTu8psMjkvj52pCf

Interacting

Here are different ways to use the SDK:

  • multisig.instructions: This will return selected instructions, to be processed and sent by your client.

  • multisig.rpc : This will build selected instructions, put it in a transaction, and send immediately.

  • multisig.transactions: This will create selected instructions, and return a VersionedTransaction with the instruction added.

  • multisig.accounts: Various account types within the Squads program, and utility methods for working with them

  • multisig.utils: Provides helper functions for working with Squads

  • multisig.types: Various types related to Squads

Table of Contents

Here is a list of the different categories this section contains.

Reading data from Squads (Accounts)

Interact with the Squads program (Instructions)

PreviousQuickstartNextInstructions

Last updated 8 months ago

Read Multisig data
Read Transaction data
Read Proposal data
Create Multisig
Add Member
Add Spending Limit
Remove Spending Limit
Create Vault Transaction
Create Proposal
Approve Transaction
Reject Proposal
Cancel Proposal
Execute Transaction