POST
/
api
/
v0
/
smart_account
/
transaction
/
signers
/
add
curl --request POST \
  --url https://developer-api.squads.so/api/v0/smart_account/transaction/signers/add \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "smart_account_address": "<string>",
  "transaction_signers": [
    "<string>"
  ],
  "smart_account_signers": [
    {
      "address": "<string>",
      "permissions": [
        "CAN_INITIATE"
      ]
    }
  ],
  "fee_config": {
    "currency": "sol",
    "payer_address": "<string>"
  }
}'
{
  "transaction": "<string>",
  "fee": {
    "amount": "<string>",
    "amount_decimal": "<string>",
    "currency": "<string>",
    "sol_equivalent": {
      "amount": "<string>",
      "amount_decimal": "<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

Response

200
application/json

Signers successfully added

The response is of type object.