> ## 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.

# Update Multisig Policy

> Propose a change to a multisig signer policy.

Place an `msu` action inside an `msp` proposal. The current policy authorizes the proposal; the new policy takes effect only when that proposal executes.

Use a version-compatible signing library with a fresh nonce and the correct network.
The examples use placeholder signatures and illustrative state. Replace the member
keys and multisig address with your intended accounts before signing. See
[Transaction Signing](https://docs.bulk.trade/api-reference/signing.md).

```json Signed request body theme={null}
{
  "actions": [
    {
      "msp": {
        "m": "AZbJ7E5ewp3uYq7BZSoJjtT5TY8ucqdhW199wLovLpoF",
        "a": [
          {
            "msu": {
              "m": "AZbJ7E5ewp3uYq7BZSoJjtT5TY8ucqdhW199wLovLpoF",
              "timeLockSecs": 120
            }
          }
        ]
      }
    }
  ],
  "nonce": "1704067200000000000",
  "account": "AKnL4NNf3DGWZJS6cPknBuEGnVsV4A4m5tgebLHaRSZ9",
  "signer": "AKnL4NNf3DGWZJS6cPknBuEGnVsV4A4m5tgebLHaRSZ9",
  "signature": "5j7s...base58..."
}
```

```json Successful result theme={null}
{
  "status": "ok",
  "response": {
    "type": "order",
    "data": {
      "statuses": [
        {
          "proposalCreated": {
            "multisig": "AZbJ7E5ewp3uYq7BZSoJjtT5TY8ucqdhW199wLovLpoF",
            "proposalId": 7,
            "status": "pending",
            "approvals": 1,
            "rejections": 0,
            "threshold": 3,
            "executeAfter": 1704067260000000000,
            "expiresAt": 1704672000000000000,
            "signer": "AKnL4NNf3DGWZJS6cPknBuEGnVsV4A4m5tgebLHaRSZ9",
            "proposer": "AKnL4NNf3DGWZJS6cPknBuEGnVsV4A4m5tgebLHaRSZ9"
          }
        }
      ]
    }
  }
}
```

## Action fields

| Field | Type | Meaning |
| - | - | - |
| `msp.m` | base58 string | Multisig receiving the proposal. |
| `msp.a[].msu.m` | base58 string | Multisig policy to update; use the same account for an ordinary self-governed multisig. |
| `signers` | base58 string\[] | Optional complete replacement signer list. |
| `threshold` | integer | Optional replacement approval threshold. |
| `timeLockSecs` | integer | Optional replacement timelock in seconds. |
| `proposalLifetimeSecs` | integer | Optional replacement maximum proposal lifetime in seconds. |

## Behavior

Registered agent wallets cannot authorize policy updates, including an `msu` nested inside an `msp` proposal.

Omit fields whose values should remain unchanged. The resulting complete policy must satisfy the [creation constraints](https://docs.bulk.trade/api-reference/multisig/create.md). `signers` replaces the list rather than appending members.

Keep the resulting `proposalLifetimeSecs` strictly longer than `timeLockSecs`. Individual field ranges alone do not ensure that new proposals can reach execution eligibility before expiry.

Optional policy fields also have presence markers in canonical signing. A serializer that always encodes a mandatory, complete policy struct will not produce the correct signing bytes for `msu`.

Submit the outer transaction from a member account. A direct, top-level `msu` is rejected: policy updates are proposal-only. The example response records the proposal; it does not mean the new timelock has already taken effect.

Ordinary proposals retain the signer set and threshold captured when they were created. Protocol administrative multisigs also apply their configured authorization checks when executing proposals.

Inspect `response.data.statuses`; HTTP `200` and top-level `status: "ok"`
can accompany a rejected request or failed proposal. Lifecycle timestamps
`executeAfter` and `expiresAt` are Unix nanoseconds. Read the
[proposal list](https://docs.bulk.trade/api-reference/multisig/get-proposals.md) to reconcile the stored outcome.


## OpenAPI

````yaml api-reference/multisig/openapi-update-policy.yaml POST /order
openapi: 3.0.3
info:
  title: BULK Multisig — Update Multisig Policy
  version: 1.0.0
servers:
  - url: https://mainnet-api1.bulk.trade/api/v1
    description: Mainnet (Primary)
  - url: https://exchange-api.bulk.trade/api/v1
    description: Testnet
security: []
paths:
  /order:
    post:
      tags:
        - Multisig (Signed)
      summary: Update Multisig Policy
      description: >-
        Propose a change to a multisig signer policy. Sign the complete
        transaction using a library compatible with the target network. Examples
        contain placeholder signatures and are not executable.
      operationId: submitMultisigPolicyProposal
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FocusedTransaction'
            example:
              actions:
                - msp:
                    m: AZbJ7E5ewp3uYq7BZSoJjtT5TY8ucqdhW199wLovLpoF
                    a:
                      - msu:
                          m: AZbJ7E5ewp3uYq7BZSoJjtT5TY8ucqdhW199wLovLpoF
                          timeLockSecs: 120
              nonce: '1704067200000000000'
              account: AKnL4NNf3DGWZJS6cPknBuEGnVsV4A4m5tgebLHaRSZ9
              signer: AKnL4NNf3DGWZJS6cPknBuEGnVsV4A4m5tgebLHaRSZ9
              signature: 5j7s...base58...
      responses:
        '200':
          description: >-
            Inspect every returned status. HTTP 200 and top-level ok do not
            guarantee proposal execution or action success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrderResponse'
              examples:
                success:
                  summary: Expected result
                  value:
                    status: ok
                    response:
                      type: order
                      data:
                        statuses:
                          - proposalCreated:
                              multisig: AZbJ7E5ewp3uYq7BZSoJjtT5TY8ucqdhW199wLovLpoF
                              proposalId: 7
                              status: pending
                              approvals: 1
                              rejections: 0
                              threshold: 3
                              executeAfter: 1704067260000000000
                              expiresAt: 1704672000000000000
                              signer: AKnL4NNf3DGWZJS6cPknBuEGnVsV4A4m5tgebLHaRSZ9
                              proposer: AKnL4NNf3DGWZJS6cPknBuEGnVsV4A4m5tgebLHaRSZ9
                badSignature:
                  summary: Authentication rejected
                  value:
                    status: error
                    response:
                      type: order
                      data:
                        statuses:
                          - error:
                              message: bad signature
components:
  schemas:
    FocusedTransaction:
      type: object
      required:
        - actions
        - nonce
        - account
        - signer
        - signature
      properties:
        actions:
          type: array
          minItems: 1
          maxItems: 1
          items:
            type: object
            required:
              - msp
            properties:
              msp:
                type: object
                required:
                  - m
                  - a
                properties:
                  m:
                    type: string
                    description: Base58 public key.
                  a:
                    type: array
                    minItems: 1
                    description: >-
                      Up to 16 top-level actions for ordinary multisigs;
                      administrative policy may allow a larger limit.
                    items:
                      type: object
                      required:
                        - msu
                      properties:
                        msu:
                          type: object
                          required:
                            - m
                          properties:
                            m:
                              type: string
                              description: Base58 public key.
                            signers:
                              type: array
                              minItems: 1
                              maxItems: 32
                              uniqueItems: true
                              items:
                                type: string
                                description: Base58 public key.
                              nullable: true
                            threshold:
                              type: integer
                              minimum: 1
                              maximum: 32
                              nullable: true
                            timeLockSecs:
                              type: integer
                              minimum: 0
                              maximum: 2592000
                              nullable: true
                              description: ' Choose a proposal lifetime strictly longer than the timelock; the protocol does not enforce this cross-field relationship.'
                            proposalLifetimeSecs:
                              type: integer
                              minimum: 3600
                              maximum: 7776000
                              nullable: true
                              description: ' Choose a proposal lifetime strictly longer than the timelock; the protocol does not enforce this cross-field relationship.'
                  l:
                    type: integer
                    minimum: 3600
                    maximum: 7776000
                    nullable: true
                    description: >-
                      Optional lifetime in seconds, not exceeding this multisig
                      policy maximum. Choose a proposal lifetime strictly longer
                      than the timelock; the protocol does not enforce this
                      cross-field relationship.
          description: >-
            This focused example contains one outer action. The shared endpoint
            also supports action batches.
        nonce:
          description: >-
            Fresh Unix-nanosecond nonce. A decimal string preserves integer
            precision.
          oneOf:
            - type: string
              pattern: ^[0-9]+$
            - type: integer
              minimum: 0
        account:
          type: string
          description: Multisig member account proposing the policy update.
        signer:
          type: string
          description: Key signing for the authorizing account.
        signature:
          type: string
          description: >-
            Base58 Ed25519 signature over the canonical transaction for the
            target network.
    OrderResponse:
      type: object
      required:
        - status
        - response
      properties:
        status:
          type: string
          enum:
            - ok
            - error
        response:
          type: object
          required:
            - type
            - data
          properties:
            type:
              type: string
              enum:
                - order
            data:
              type: object
              required:
                - statuses
              properties:
                statuses:
                  type: array
                  description: >-
                    Execution-event results, not a one-to-one mapping to input
                    actions.
                  items:
                    oneOf:
                      - type: object
                        required:
                          - multisigCreated
                        properties:
                          multisigCreated:
                            type: object
                            required:
                              - pubkey
                              - threshold
                              - signersLen
                              - timeLockSecs
                              - lifetimeSecs
                              - creator
                            properties:
                              pubkey:
                                type: string
                                description: Base58 public key.
                              threshold:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              signersLen:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              timeLockSecs:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              lifetimeSecs:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              creator:
                                type: string
                                description: Base58 public key.
                      - type: object
                        required:
                          - multisigCreatedFailed
                        properties:
                          multisigCreatedFailed:
                            type: object
                            required:
                              - message
                            properties:
                              message:
                                type: string
                      - type: object
                        required:
                          - proposalCreated
                        properties:
                          proposalCreated:
                            type: object
                            required:
                              - multisig
                              - proposalId
                              - status
                              - approvals
                              - rejections
                              - threshold
                              - executeAfter
                              - expiresAt
                              - signer
                              - proposer
                            properties:
                              multisig:
                                type: string
                                description: Base58 public key.
                              proposalId:
                                type: integer
                                minimum: 0
                              status:
                                type: string
                                enum:
                                  - pending
                                  - ready
                                  - executed
                                  - executedWithFailures
                                  - failed
                                  - expired
                                  - cancelled
                                  - rejected
                              approvals:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              rejections:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              threshold:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              executeAfter:
                                type: integer
                                minimum: 0
                                description: Protocol timestamp in Unix nanoseconds.
                              expiresAt:
                                type: integer
                                minimum: 0
                                description: Protocol timestamp in Unix nanoseconds.
                              signer:
                                type: string
                                description: Base58 public key.
                                nullable: true
                              proposer:
                                type: string
                                description: Base58 public key.
                                nullable: true
                      - type: object
                        required:
                          - proposalApproved
                        properties:
                          proposalApproved:
                            type: object
                            required:
                              - multisig
                              - proposalId
                              - status
                              - approvals
                              - rejections
                              - threshold
                              - executeAfter
                              - expiresAt
                              - signer
                              - proposer
                            properties:
                              multisig:
                                type: string
                                description: Base58 public key.
                              proposalId:
                                type: integer
                                minimum: 0
                              status:
                                type: string
                                enum:
                                  - pending
                                  - ready
                                  - executed
                                  - executedWithFailures
                                  - failed
                                  - expired
                                  - cancelled
                                  - rejected
                              approvals:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              rejections:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              threshold:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              executeAfter:
                                type: integer
                                minimum: 0
                                description: Protocol timestamp in Unix nanoseconds.
                              expiresAt:
                                type: integer
                                minimum: 0
                                description: Protocol timestamp in Unix nanoseconds.
                              signer:
                                type: string
                                description: Base58 public key.
                                nullable: true
                              proposer:
                                type: string
                                description: Base58 public key.
                                nullable: true
                      - type: object
                        required:
                          - proposalReadyForExecution
                        properties:
                          proposalReadyForExecution:
                            type: object
                            required:
                              - multisig
                              - proposalId
                              - status
                              - approvals
                              - rejections
                              - threshold
                              - executeAfter
                              - expiresAt
                              - signer
                              - proposer
                            properties:
                              multisig:
                                type: string
                                description: Base58 public key.
                              proposalId:
                                type: integer
                                minimum: 0
                              status:
                                type: string
                                enum:
                                  - pending
                                  - ready
                                  - executed
                                  - executedWithFailures
                                  - failed
                                  - expired
                                  - cancelled
                                  - rejected
                              approvals:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              rejections:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              threshold:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              executeAfter:
                                type: integer
                                minimum: 0
                                description: Protocol timestamp in Unix nanoseconds.
                              expiresAt:
                                type: integer
                                minimum: 0
                                description: Protocol timestamp in Unix nanoseconds.
                              signer:
                                type: string
                                description: Base58 public key.
                                nullable: true
                              proposer:
                                type: string
                                description: Base58 public key.
                                nullable: true
                      - type: object
                        required:
                          - proposalExecuted
                        properties:
                          proposalExecuted:
                            type: object
                            required:
                              - multisig
                              - proposalId
                              - status
                              - approvals
                              - rejections
                              - threshold
                              - executeAfter
                              - expiresAt
                              - signer
                              - proposer
                            properties:
                              multisig:
                                type: string
                                description: Base58 public key.
                              proposalId:
                                type: integer
                                minimum: 0
                              status:
                                type: string
                                enum:
                                  - pending
                                  - ready
                                  - executed
                                  - executedWithFailures
                                  - failed
                                  - expired
                                  - cancelled
                                  - rejected
                              approvals:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              rejections:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              threshold:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              executeAfter:
                                type: integer
                                minimum: 0
                                description: Protocol timestamp in Unix nanoseconds.
                              expiresAt:
                                type: integer
                                minimum: 0
                                description: Protocol timestamp in Unix nanoseconds.
                              signer:
                                type: string
                                description: Base58 public key.
                                nullable: true
                              proposer:
                                type: string
                                description: Base58 public key.
                                nullable: true
                              message:
                                type: string
                      - type: object
                        required:
                          - proposalFailed
                        properties:
                          proposalFailed:
                            type: object
                            required:
                              - multisig
                              - proposalId
                              - status
                              - approvals
                              - rejections
                              - threshold
                              - executeAfter
                              - expiresAt
                              - signer
                              - proposer
                              - message
                            properties:
                              multisig:
                                type: string
                                description: Base58 public key.
                              proposalId:
                                type: integer
                                minimum: 0
                              status:
                                type: string
                                enum:
                                  - pending
                                  - ready
                                  - executed
                                  - executedWithFailures
                                  - failed
                                  - expired
                                  - cancelled
                                  - rejected
                              approvals:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              rejections:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              threshold:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              executeAfter:
                                type: integer
                                minimum: 0
                                description: Protocol timestamp in Unix nanoseconds.
                              expiresAt:
                                type: integer
                                minimum: 0
                                description: Protocol timestamp in Unix nanoseconds.
                              signer:
                                type: string
                                description: Base58 public key.
                                nullable: true
                              proposer:
                                type: string
                                description: Base58 public key.
                                nullable: true
                              message:
                                type: string
                      - type: object
                        required:
                          - proposalExpired
                        properties:
                          proposalExpired:
                            type: object
                            required:
                              - multisig
                              - proposalId
                              - status
                              - approvals
                              - rejections
                              - threshold
                              - executeAfter
                              - expiresAt
                              - signer
                              - proposer
                            properties:
                              multisig:
                                type: string
                                description: Base58 public key.
                              proposalId:
                                type: integer
                                minimum: 0
                              status:
                                type: string
                                enum:
                                  - pending
                                  - ready
                                  - executed
                                  - executedWithFailures
                                  - failed
                                  - expired
                                  - cancelled
                                  - rejected
                              approvals:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              rejections:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              threshold:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              executeAfter:
                                type: integer
                                minimum: 0
                                description: Protocol timestamp in Unix nanoseconds.
                              expiresAt:
                                type: integer
                                minimum: 0
                                description: Protocol timestamp in Unix nanoseconds.
                              signer:
                                type: string
                                description: Base58 public key.
                                nullable: true
                              proposer:
                                type: string
                                description: Base58 public key.
                                nullable: true
                      - type: object
                        required:
                          - proposalCancelled
                        properties:
                          proposalCancelled:
                            type: object
                            required:
                              - multisig
                              - proposalId
                              - status
                              - approvals
                              - rejections
                              - threshold
                              - executeAfter
                              - expiresAt
                              - signer
                              - proposer
                            properties:
                              multisig:
                                type: string
                                description: Base58 public key.
                              proposalId:
                                type: integer
                                minimum: 0
                              status:
                                type: string
                                enum:
                                  - pending
                                  - ready
                                  - executed
                                  - executedWithFailures
                                  - failed
                                  - expired
                                  - cancelled
                                  - rejected
                              approvals:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              rejections:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              threshold:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              executeAfter:
                                type: integer
                                minimum: 0
                                description: Protocol timestamp in Unix nanoseconds.
                              expiresAt:
                                type: integer
                                minimum: 0
                                description: Protocol timestamp in Unix nanoseconds.
                              signer:
                                type: string
                                description: Base58 public key.
                                nullable: true
                              proposer:
                                type: string
                                description: Base58 public key.
                                nullable: true
                      - type: object
                        required:
                          - proposalRejected
                        properties:
                          proposalRejected:
                            type: object
                            required:
                              - multisig
                              - proposalId
                              - status
                              - approvals
                              - rejections
                              - threshold
                              - executeAfter
                              - expiresAt
                              - signer
                              - proposer
                              - message
                            properties:
                              multisig:
                                type: string
                                description: Base58 public key.
                              proposalId:
                                type: integer
                                minimum: 0
                              status:
                                type: string
                                enum:
                                  - pending
                                  - ready
                                  - executed
                                  - executedWithFailures
                                  - failed
                                  - expired
                                  - cancelled
                                  - rejected
                              approvals:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              rejections:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              threshold:
                                type: integer
                                minimum: 0
                                maximum: 4294967295
                              executeAfter:
                                type: integer
                                minimum: 0
                                description: Protocol timestamp in Unix nanoseconds.
                              expiresAt:
                                type: integer
                                minimum: 0
                                description: Protocol timestamp in Unix nanoseconds.
                              signer:
                                type: string
                                description: Base58 public key.
                                nullable: true
                              proposer:
                                type: string
                                description: Base58 public key.
                                nullable: true
                              message:
                                type: string
                      - type: object
                        required:
                          - ack
                        properties:
                          ack:
                            type: object
                            required:
                              - ok
                            properties:
                              ok:
                                type: boolean
                              message:
                                type: string
                      - type: object
                        required:
                          - error
                        properties:
                          error:
                            type: object
                            required:
                              - message
                            properties:
                              message:
                                type: string

````

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