Skip to main content
POST
/
api
/
v0
/
smart_account
/
transaction
/
create
Create Smart Account
curl --request POST \
  --url https://developer-api.squads.so/api/v0/smart_account/transaction/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "smart_account_signers": [
    {
      "address": "<string>",
      "permissions": [
        "CAN_INITIATE"
      ]
    }
  ],
  "threshold": 2,
  "rent_collector": "<string>",
  "config_authority": "<string>",
  "memo": "<string>"
}'
{
  "smart_account_address": "<string>"
}

Authorizations

Authorization
string
header
required

Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Headers

x-squads-network
enum<string>
default:mainnet

Specifies which Solana network to use. Defaults to 'mainnet' if not provided. Valid values are 'devnet' or 'mainnet'.

Available options:
devnet,
mainnet

Body

application/json
smart_account_signers
object[]
required

List of authorized keys that define the permanent configuration of your smart account. Each signer is assigned specific permissions that determine their role:

  • CAN_INITIATE: Allows creating new transactions
  • CAN_VOTE: Allows approving pending transactions
  • CAN_EXECUTE: Allows executing approved transactions
threshold
integer
required

The minimum number of required signatures to execute any action

Required range: x >= 1
rent_collector
string

Optional address where rent for executed, rejected, or cancelled transaction accounts can be reclaimed

config_authority
string

Optional authority that can change the smart account configuration

memo
string

Optional memo to include with the transaction

Response

Smart Account successfully created

smart_account_address
string
required

The wallet address of the newly created Smart Account

I