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

# Propose Actions

> Submit actions for multisig approval.

Submit an `msp` action from a multisig member account. The example proposes cancelling the multisig’s resting BTC-USD orders.

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": [
          {
            "cxa": {
              "c": [
                "BTC-USD"
              ]
            }
          }
        ]
      }
    }
  ],
  "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 |
| - | - | - |
| `m` | base58 string | Multisig account that will execute the actions. |
| `a` | action\[] | Nonempty list of supported actions. Ordinary proposals allow up to 16 actions and 64 KiB of encoded action data. |
| `l` | integer | Optional lifetime in seconds, from `3600` to the policy maximum. Omission uses the policy lifetime. |

## Behavior

A registered agent may propose only when every nested action is permitted for agents. A trading proposal can qualify; a policy-update proposal cannot.

The proposer automatically supplies the first approval. `executeAfter` is computed from the proposal’s creation time plus the policy timelock; it does not restart when the final approval arrives.

If supplying `l`, choose a value strictly longer than the current policy timelock. A shorter override can expire this proposal before it becomes executable.

When the threshold is reached, the proposal becomes `ready`. If the timelock has already elapsed, execution can happen in the same transaction; otherwise the protocol schedules it. A separate [execute request](https://docs.bulk.trade/api-reference/multisig/execute.md) is optional.

Supported proposal actions include trading, transfers, subaccount management and policy changes, subject to the multisig’s authority. Nested multisig creation or lifecycle actions are not supported. Actions inside supported trigger and on-fill wrappers are validated recursively.

A proposal uses the normal structural execution phases; its JSON action order is not a promise that different action classes execute in that sequence. Multi-action execution is best-effort: `executedWithFailures` can preserve successful effects alongside failed actions. See [Execution](https://docs.bulk.trade/api-reference/multisig/execute.md).

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-propose.yaml POST /order
openapi: 3.0.3
info:
  title: BULK Multisig — Propose Actions
  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: Propose Actions
      description: >-
        Submit actions for multisig approval. Sign the complete transaction
        using a library compatible with the target network. Examples contain
        placeholder signatures and are not executable.
      operationId: submitMultisigProposal
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FocusedTransaction'
            example:
              actions:
                - msp:
                    m: AZbJ7E5ewp3uYq7BZSoJjtT5TY8ucqdhW199wLovLpoF
                    a:
                      - cxa:
                          c:
                            - BTC-USD
              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
                      description: >-
                        Supported action object. Use canonical action names and
                        sign the exact nested payload.
                  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 these actions.
        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.