> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bulk.trade/llms.txt
> Use this file to discover all available pages before exploring further.

# Multisig Overview

> Signer policies, proposals, voting and execution for BULK multisig accounts.

A BULK multisig is a separate account whose actions are authorized through a signer threshold and proposal lifecycle. Each member submits its own signed transaction; approvals accumulate on the proposal. There is no `signatures[]` field to assemble in one transaction.

## API Reference

| Operation | Request |
| - | - |
| [Get policy](https://docs.bulk.trade/api-reference/multisig/get-policy.md) | `GET /api/v1/multisig/{pubkey}` |
| [Get proposals](https://docs.bulk.trade/api-reference/multisig/get-proposals.md) | `GET /api/v1/multisig/{pubkey}/proposals` |
| [Create a multisig](https://docs.bulk.trade/api-reference/multisig/create.md) | `createMultisig` through `POST /api/v1/order` |
| [Update policy](https://docs.bulk.trade/api-reference/multisig/update-policy.md) | `msu` nested inside an `msp` proposal |
| [Propose actions](https://docs.bulk.trade/api-reference/multisig/propose.md) | `msp` through `POST /api/v1/order` |
| [Approve](https://docs.bulk.trade/api-reference/multisig/approve.md) | `msa` through `POST /api/v1/order` |
| [Reject](https://docs.bulk.trade/api-reference/multisig/reject.md) | `msr` through `POST /api/v1/order` |
| [Cancel](https://docs.bulk.trade/api-reference/multisig/cancel.md) | `msc` through `POST /api/v1/order` |
| [Execute a ready proposal](https://docs.bulk.trade/api-reference/multisig/execute.md) | Optional `mse` execution trigger |
| [WebSocket updates](https://docs.bulk.trade/api-reference/multisig/websocket.md) | Read-only `multisig` subscription |

Both GET endpoints are unsigned. The action endpoints use the normal [signed transaction envelope](https://docs.bulk.trade/api-reference/signing.md); the same payload can be submitted through [WebSocket post requests](https://docs.bulk.trade/api-reference/ws-trading.md#post-request-format).

## Account and Proposal IDs

Read the new account address from `multisigCreated.pubkey`. Use that address as the GET path parameter and as `m` inside proposal and voting actions. Do not derive it from the transaction nonce.

An account's [full snapshot](https://docs.bulk.trade/api-reference/account/snapshot.md) can include `multisigAccounts` when it has multisig memberships. Query the returned multisig address to read its current policy and proposals.

Read `proposalId` from `proposalCreated` or the proposal list. IDs are counters scoped to each multisig account, so identify a proposal by **multisig address + proposal ID**.

## Proposal Lifecycle

1. A member submits `msp` with the intended actions. The proposer automatically supplies the first approval.
2. Other members approve or reject. Each signer can vote once and cannot switch its vote.
3. Reaching the approval threshold makes the proposal `ready`. The timelock is measured from proposal creation, rather than from the final approval.
4. If the proposal is already eligible, proposing or approving can also execute it immediately. Otherwise, the protocol schedules ready proposals for execution when their timelock is due.
5. Read the stored proposal state to confirm the outcome. `mse` is an optional explicit trigger, rather than a mandatory step after voting.

Only the original proposer can cancel an open proposal. Rejections close a proposal when they make the threshold unreachable: `signerCount - threshold + 1` rejections.

Ordinary proposals retain the signer set and threshold captured at creation. Policy changes themselves must be proposed using `msp` containing `msu`, and take effect when that proposal executes.

## Signing and Authority

The action examples sign directly from a member account: `account` and `signer` name that member, while the action's `m` names the multisig. The proposed inner actions execute under the multisig's authority.

Use a signing-library release compatible with the target protocol and its action encodings. Preserve the prepared signing bytes and the complete serialized transaction returned by that library. Nested action order, nonces, network domain and optional policy fields are part of canonical signing.

Registered-agent permissions are action-specific:

| Action | Registered-agent behavior |
| - | - |
| Create, approve, reject or cancel | Agents cannot authorize these operations. |
| Propose | Permitted only when every proposed action is itself agent-allowed. |
| Update policy | Agents cannot authorize it, including inside a proposal. |
| Trigger execution | An authorized agent can submit `mse`. |

An execution trigger does not require the caller to be a policy signer. It still requires a normally authorized signed transaction, and does not bypass the proposal's approvals, timelock, expiry or action authorization.

## Policy and Time Units

| Setting | Supported range |
| - | - |
| Signers | 1–32 distinct on-curve public keys |
| Threshold | 1 through the signer count |
| `timeLockSecs` | 0–2,592,000 seconds; defaults to 0 |
| `proposalLifetimeSecs` | 3,600–7,776,000 seconds; defaults to 604,800 |
| Optional proposal `l` | 3,600 seconds through the policy lifetime |

> [!WARNING]
>
> Choose a proposal lifetime strictly longer than the timelock, leaving time for voting and execution. The protocol checks individual field ranges but does not enforce this relationship. A shorter lifetime can make every new proposal expire before execution eligibility, including proposals intended to repair the policy. Apply the same rule to an individual proposal's `l` override.

Policy delays and lifetime inputs are **seconds**. Proposal response fields `createdAt`, `executeAfter` and `expiresAt` are protocol Unix timestamps in **nanoseconds**. Preserve 64-bit integer precision in your client; send transaction nonces as decimal strings.

## Read the Stored Outcome

| Proposal status | Meaning |
| - | - |
| `pending` | Waiting for the required approvals. |
| `ready` | Approval threshold reached; execution timing and other checks still apply. |
| `executed` | Execution completed without a reported action failure. |
| `executedWithFailures` | Best-effort execution completed with reported failures; successful effects remain applied. |
| `failed` | Proposal execution failed; inspect the associated error. |
| `expired` | The proposal lifetime elapsed before execution. |
| `cancelled` | The proposer cancelled the proposal. |
| `rejected` | Rejections made the approval threshold unreachable. |

Inspect every item in `response.data.statuses`. HTTP `200`, top-level `status: "ok"`, or a `proposalExecuted` tag alone does not establish that all proposed actions succeeded. A rejection event can describe an unsuccessful attempted operation without changing an existing proposal's stored state.

Execution is best-effort across actions. A later failure does not roll back earlier successful effects. Reconcile the final status and optional `error` through [Get Proposals](https://docs.bulk.trade/api-reference/multisig/get-proposals.md).

The proposal query returns the retained snapshot, rather than an unbounded historical archive. A multisig supports up to 64 open proposals and retains up to 64 terminal proposals. The [WebSocket stream](https://docs.bulk.trade/api-reference/multisig/websocket.md) publishes refreshed proposal snapshots; use the policy GET endpoint for current signer settings.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.