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

# Create a Multisig

> Create a BULK multisig account with a signer policy.

Create a separate BULK account controlled by a signer threshold. The response returns its public key; use that returned address in subsequent proposals.

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": [
    {
      "createMultisig": {
        "signers": [
          "AKnL4NNf3DGWZJS6cPknBuEGnVsV4A4m5tgebLHaRSZ9",
          "9hSR6S7WPtxmTojgo6GG3k4yDPecgJY292j7xrsUGWBu",
          "GyGKxMyg1p9SsHfm15MkNUu1u9TN2JtTspcdmrtGUdse"
        ],
        "threshold": 3,
        "timeLockSecs": 60
      }
    }
  ],
  "nonce": "1704067200000000000",
  "account": "AKnL4NNf3DGWZJS6cPknBuEGnVsV4A4m5tgebLHaRSZ9",
  "signer": "AKnL4NNf3DGWZJS6cPknBuEGnVsV4A4m5tgebLHaRSZ9",
  "signature": "5j7s...base58..."
}
```

```json Successful result theme={null}
{
  "status": "ok",
  "response": {
    "type": "order",
    "data": {
      "statuses": [
        {
          "multisigCreated": {
            "pubkey": "AZbJ7E5ewp3uYq7BZSoJjtT5TY8ucqdhW199wLovLpoF",
            "threshold": 3,
            "signersLen": 3,
            "timeLockSecs": 60,
            "lifetimeSecs": 604800,
            "creator": "AKnL4NNf3DGWZJS6cPknBuEGnVsV4A4m5tgebLHaRSZ9"
          }
        }
      ]
    }
  }
}
```

## Action fields

| Field | Type | Meaning |
| - | - | - |
| `signers` | base58 string\[] | One to 32 distinct on-curve signer keys. |
| `threshold` | integer | Required approvals, from one to the signer count. |
| `timeLockSecs` | integer | Delay from proposal creation to execution eligibility, in seconds. Defaults to `0`; maximum `2592000` (30 days). |
| `proposalLifetimeSecs` | integer | Maximum proposal lifetime, in seconds. Defaults to `604800` (seven days); range `3600`–`7776000` (90 days). |

## Behavior

The example signs directly for the creator account. Registered agent wallets cannot create multisig accounts.

The signer policy is independent of the creator. The creator can include its own key, as in this example, but creation does not implicitly add it to `signers`.

Choose `proposalLifetimeSecs` strictly longer than `timeLockSecs`, with time for voting and execution. The protocol does not enforce that cross-field relationship; a shorter lifetime can leave new proposals unable to execute. See [Policy and Time Units](https://docs.bulk.trade/api-reference/multisig/overview.md#policy-and-time-units).

A proposal must meet both the approval threshold and its execution time before its actions run. See [Propose](https://docs.bulk.trade/api-reference/multisig/propose.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-create.yaml POST /order
openapi: 3.0.3
info:
  title: BULK Multisig — Create a Multisig
  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: Create a Multisig
      description: >-
        Create a BULK multisig account with a signer policy. Sign the complete
        transaction using a library compatible with the target network. Examples
        contain placeholder signatures and are not executable.
      operationId: submitCreateMultisig
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FocusedTransaction'
            example:
              actions:
                - createMultisig:
                    signers:
                      - AKnL4NNf3DGWZJS6cPknBuEGnVsV4A4m5tgebLHaRSZ9
                      - 9hSR6S7WPtxmTojgo6GG3k4yDPecgJY292j7xrsUGWBu
                      - GyGKxMyg1p9SsHfm15MkNUu1u9TN2JtTspcdmrtGUdse
                    threshold: 3
                    timeLockSecs: 60
              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:
                          - multisigCreated:
                              pubkey: AZbJ7E5ewp3uYq7BZSoJjtT5TY8ucqdhW199wLovLpoF
                              threshold: 3
                              signersLen: 3
                              timeLockSecs: 60
                              lifetimeSecs: 604800
                              creator: 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:
              - createMultisig
            properties:
              createMultisig:
                type: object
                required:
                  - signers
                  - threshold
                properties:
                  signers:
                    type: array
                    minItems: 1
                    maxItems: 32
                    uniqueItems: true
                    items:
                      type: string
                      description: Base58 public key.
                  threshold:
                    type: integer
                    minimum: 1
                    maximum: 32
                  timeLockSecs:
                    type: integer
                    minimum: 0
                    maximum: 2592000
                    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
                    description: ' 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: Creator account authorizing this transaction.
        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.