SolKnife Multisig API
The Multisig API from SolKnife — 12 operation(s) for multisig.
The Multisig API from SolKnife — 12 operation(s) for multisig.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/solknife-xyz:solknife-xyz-multisig-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: SolKnife Multisig API
description: 'Non-custodial Solana toolkit. Every UI action is reachable over JSON HTTP: the server builds unsigned transactions, the caller signs, the server submits. Also available as an MCP server at /api/mcp.'
version: 1.0.0
contact:
email: admin@solknife.xyz
x-guidance: 'Every write is a two-step, non-custodial flow: POST to a /build endpoint to get an unsigned base64 VersionedTransaction, sign it with your own key, then POST the signed tx to the matching /execute endpoint. The server never holds your keys. Reads are plain GETs. Paid endpoints answer 402 with an x402 v2 challenge: pay the `exact` entry in USDC and retry with the PAYMENT-SIGNATURE header.'
servers:
- url: https://solknife.xyz
tags:
- name: Multisig
paths:
/api/multisig/create/build:
post:
operationId: multisig_create_build
summary: Generate an unsigned create-multisig transaction
description: Build an unsigned create-multisig tx (members, threshold). Returns the multisig + vault address.
security: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'402':
description: Payment Required — see the x402 challenge in the body and the PAYMENT-REQUIRED header.
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
creator:
type: string
pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
description: A Solana address in base58, 32-44 chars.
createKey:
type: string
pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
description: A Solana address in base58, 32-44 chars.
members:
minItems: 1
maxItems: 20
type: array
items:
type: object
properties:
key:
type: string
pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
description: A Solana address in base58, 32-44 chars.
permissions:
type: object
properties:
initiate:
type: boolean
description: May create proposals.
vote:
type: boolean
description: May approve or reject proposals.
execute:
type: boolean
description: May execute a proposal once it reaches threshold.
required:
- initiate
- vote
- execute
description: What this member is allowed to do. All three are independent.
required:
- key
description: The multisig members. Omit permissions to grant all three.
threshold:
type: integer
minimum: 1
maximum: 20
description: Approvals required to execute a proposal. Must not exceed the member count.
timeLock:
type: integer
minimum: 0
maximum: 7776000
required:
- creator
- createKey
- members
- threshold
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.01'
protocols:
- x402: {}
tags:
- Multisig
/api/multisig/create/execute:
post:
operationId: multisig_create_execute
summary: Submit the signed create-multisig tx
description: Submit the signed create-multisig tx.
security: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
signedTransaction:
type: string
minLength: 1
maxLength: 2500
description: The base64 VersionedTransaction returned by the matching /build call, signed with your key. Do not submit it yourself; this endpoint submits it.
lastValidBlockHeight:
type: integer
exclusiveMinimum: 0
maximum: 10000000000
description: The `lastValidBlockHeight` returned alongside the unsigned tx by /build. Past this block height the tx can no longer land.
required:
- signedTransaction
- lastValidBlockHeight
tags:
- Multisig
/api/multisig/propose/build:
post:
operationId: multisig_propose_build
summary: Generate an unsigned propose-transaction transaction
description: 'Build an unsigned propose-transaction tx: a SOL transfer, a token transfer, or arbitrary instructions, run through the vault.'
security: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'402':
description: Payment Required — see the x402 challenge in the body and the PAYMENT-REQUIRED header.
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
multisig:
type: string
pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
description: A Solana address in base58, 32-44 chars.
proposer:
type: string
pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
description: A Solana address in base58, 32-44 chars.
memo:
type: string
maxLength: 280
kind:
type: string
enum:
- sol-transfer
- token-transfer
- instructions
recipient:
type: string
pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
description: A Solana address in base58, 32-44 chars.
lamports:
type: integer
exclusiveMinimum: 0
maximum: 1000000000000000
mint:
type: string
pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
description: A Solana address in base58, 32-44 chars.
amount:
type: string
pattern: ^\d+$
instructions:
minItems: 1
maxItems: 10
type: array
items:
type: object
properties:
programId:
type: string
pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
description: A Solana address in base58, 32-44 chars.
accounts:
maxItems: 40
type: array
items:
type: object
properties:
pubkey:
type: string
pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
description: A Solana address in base58, 32-44 chars.
isSigner:
type: boolean
description: Whether this account must sign the inner instruction.
isWritable:
type: boolean
description: Whether the inner instruction mutates this account.
required:
- pubkey
- isSigner
- isWritable
description: The instruction's account metas, in the order the target program expects.
data:
type: string
maxLength: 4000
description: Base64 of the instruction data bytes.
required:
- programId
- accounts
- data
ephemeralSigners:
type: integer
minimum: 0
maximum: 8
required:
- multisig
- proposer
- kind
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.01'
protocols:
- x402: {}
tags:
- Multisig
/api/multisig/propose/execute:
post:
operationId: multisig_propose_execute
summary: Submit the signed propose-transaction tx
description: Submit the signed propose-transaction tx.
security: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
signedTransaction:
type: string
minLength: 1
maxLength: 2500
description: The base64 VersionedTransaction returned by the matching /build call, signed with your key. Do not submit it yourself; this endpoint submits it.
lastValidBlockHeight:
type: integer
exclusiveMinimum: 0
maximum: 10000000000
description: The `lastValidBlockHeight` returned alongside the unsigned tx by /build. Past this block height the tx can no longer land.
required:
- signedTransaction
- lastValidBlockHeight
tags:
- Multisig
/api/multisig/list:
get:
operationId: multisig_list
summary: List the Squads multisigs a wallet is a member of
description: 'List the Squads multisigs the owner is a member of, found through the owner''s recent transactions: address, vault, threshold, and the owner''s permissions.'
security: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'402':
description: Payment Required — see the x402 challenge in the body and the PAYMENT-REQUIRED header.
parameters:
- name: owner
in: query
required: true
schema:
type: string
pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
description: A Solana address in base58, 32-44 chars.
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.01'
protocols:
- x402: {}
tags:
- Multisig
/api/multisig/state:
get:
operationId: multisig_state
summary: Read a Squads multisig's members, vault, and proposals
description: 'Read a Squads multisig: members, threshold, vault balance, and pending proposals with vote tallies.'
security: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'402':
description: Payment Required — see the x402 challenge in the body and the PAYMENT-REQUIRED header.
parameters:
- name: address
in: query
required: true
schema:
type: string
pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
description: A Solana address in base58, 32-44 chars.
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.01'
protocols:
- x402: {}
tags:
- Multisig
/api/multisig/approve/build:
post:
operationId: multisig_approve_build
summary: Generate an unsigned approve or reject vote transaction
description: 'Build an unsigned vote tx: approve or reject a proposal.'
security: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'402':
description: Payment Required — see the x402 challenge in the body and the PAYMENT-REQUIRED header.
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
multisig:
type: string
pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
description: A Solana address in base58, 32-44 chars.
member:
type: string
pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
description: A Solana address in base58, 32-44 chars.
transactionIndex:
type: integer
exclusiveMinimum: 0
maximum: 1000000000
description: The proposal index, as returned by /api/multisig/state.
vote:
type: string
enum:
- approve
- reject
required:
- multisig
- member
- transactionIndex
- vote
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.01'
protocols:
- x402: {}
tags:
- Multisig
/api/multisig/approve/execute:
post:
operationId: multisig_approve_execute
summary: Submit the signed vote tx (pass the same vote value back)
description: Submit the signed vote tx (pass the same vote value back).
security: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
signedTransaction:
type: string
minLength: 1
maxLength: 2500
description: The base64 VersionedTransaction returned by the matching /build call, signed with your key. Do not submit it yourself; this endpoint submits it.
lastValidBlockHeight:
type: integer
exclusiveMinimum: 0
maximum: 10000000000
description: The `lastValidBlockHeight` returned alongside the unsigned tx by /build. Past this block height the tx can no longer land.
vote:
type: string
enum:
- approve
- reject
required:
- signedTransaction
- lastValidBlockHeight
- vote
tags:
- Multisig
/api/multisig/execute/build:
post:
operationId: multisig_execute_build
summary: Generate an unsigned execute-proposal transaction
description: Build an unsigned execute tx for an approved proposal (vault or config, auto-detected).
security: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'402':
description: Payment Required — see the x402 challenge in the body and the PAYMENT-REQUIRED header.
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
multisig:
type: string
pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
description: A Solana address in base58, 32-44 chars.
member:
type: string
pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
description: A Solana address in base58, 32-44 chars.
transactionIndex:
type: integer
exclusiveMinimum: 0
maximum: 1000000000
description: The proposal index, as returned by /api/multisig/state.
computeUnitLimit:
type: integer
exclusiveMinimum: 0
maximum: 1400000
required:
- multisig
- member
- transactionIndex
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.01'
protocols:
- x402: {}
tags:
- Multisig
/api/multisig/execute/execute:
post:
operationId: multisig_execute_execute
summary: Submit the signed execute-proposal transaction
description: Submit the signed execute-proposal tx (pass the executeKind back).
security: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
signedTransaction:
type: string
minLength: 1
maxLength: 2500
description: The base64 VersionedTransaction returned by the matching /build call, signed with your key. Do not submit it yourself; this endpoint submits it.
lastValidBlockHeight:
type: integer
exclusiveMinimum: 0
maximum: 10000000000
description: The `lastValidBlockHeight` returned alongside the unsigned tx by /build. Past this block height the tx can no longer land.
executeKind:
type: string
enum:
- vault
- config
required:
- signedTransaction
- lastValidBlockHeight
- executeKind
tags:
- Multisig
/api/multisig/config/build:
post:
operationId: multisig_config_build
summary: Generate an unsigned config-change proposal
description: 'Build an unsigned config-change proposal: add a member, remove a member, or change the threshold.'
security: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'402':
description: Payment Required — see the x402 challenge in the body and the PAYMENT-REQUIRED header.
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
multisig:
type: string
pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
description: A Solana address in base58, 32-44 chars.
proposer:
type: string
pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
description: A Solana address in base58, 32-44 chars.
memo:
type: string
maxLength: 280
op:
type: string
enum:
- add-member
- remove-member
- change-threshold
member:
type: string
pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
description: A Solana address in base58, 32-44 chars.
permissions:
type: object
properties:
initiate:
type: boolean
description: May create proposals.
vote:
type: boolean
description: May approve or reject proposals.
execute:
type: boolean
description: May execute a proposal once it reaches threshold.
required:
- initiate
- vote
- execute
description: What this member is allowed to do. All three are independent.
threshold:
type: integer
minimum: 1
maximum: 20
required:
- multisig
- proposer
- op
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.01'
protocols:
- x402: {}
tags:
- Multisig
/api/multisig/config/execute:
post:
operationId: multisig_config_execute
summary: Submit the signed config-change proposal tx
description: Submit the signed config-change proposal tx.
security: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
signedTransaction:
type: string
minLength: 1
maxLength: 2500
description: The base64 VersionedTransaction returned by the matching /build call, signed with your key. Do not submit it yourself; this endpoint submits it.
lastValidBlockHeight:
type: integer
exclusiveMinimum: 0
maximum: 10000000000
description: The `lastValidBlockHeight` returned alongside the unsigned tx by /build. Past this block height the tx can no longer land.
required:
- signedTransaction
- lastValidBlockHeight
tags:
- Multisig