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

# Settle a queued vault deposit

> Curator-only endpoint that settles a pending deposit request by signing a mint approval at a quoted share price (USD per share). Takes the request id and the user's deposit-action hash, mints the corresponding shares, and returns the settlement result. Requires the curator mint-and-burn permission.



## OpenAPI

````yaml /openapi.json post /private/mint_vault_shares
openapi: 3.1.0
info:
  title: Derive v3 API
  version: 0.2.0
  description: JSON-RPC 2.0 methods, served over WebSocket and HTTP POST.
servers:
  - url: https://api.derive.xyz/v3
    description: Production (HTTP POST base)
  - url: https://testnet.api.derive.xyz/v3
    description: Testnet (HTTP POST base)
security: []
tags:
  - name: Subaccounts
    description: >-
      List, inspect, and label subaccounts, portfolios, positions, and
      collateral.
  - name: Session Keys
    description: Register, edit, and list delegated signing keys.
  - name: Account
    description: Wallet-level account information and settings.
  - name: Orderbook
    description: Place, replace, cancel, and query orders, trigger orders, and algos.
  - name: RFQ
    description: 'Request-for-quote: send RFQs, quote, and execute block trades.'
  - name: Vault Shareholders
    description: >-
      Deposit into and withdraw from vaults, and track shares, requests, and
      performance.
  - name: Vault Curators
    description: >-
      Create and operate curated vaults: settle deposit and withdrawal requests,
      and manage vault metadata.
  - name: History
    description: >-
      Per-account historical records: orders, trades, transfers, and
      settlements.
  - name: Market Maker Protection
    description: Configure, read, and reset market-maker protection.
  - name: Transfers & Withdrawals
    description: Move collateral between subaccounts, to other wallets, and on-chain.
  - name: System
    description: Rate limits and transaction lookups.
  - name: Market Data
    description: Instruments, currencies, tickers, and market-wide feeds.
  - name: Referrals
    description: Referral codes and program performance.
  - name: Other
    description: Uncategorized.
paths:
  /private/mint_vault_shares:
    post:
      tags:
        - Vault Curators
      summary: Settle a queued vault deposit
      description: >-
        Curator-only endpoint that settles a pending deposit request by signing
        a mint approval at a quoted share price (USD per share). Takes the
        request id and the user's deposit-action hash, mints the corresponding
        shares, and returns the settlement result. Requires the curator
        mint-and-burn permission.
      operationId: private_mint_vault_shares
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MintSharesRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VaultSettleResponse'
        default:
          description: JSON-RPC error (see Error Codes)
components:
  schemas:
    MintSharesRequest:
      description: >-
        Fields common to every signed vault action. They appear alongside each
        endpoint's action-specific parameters in the same request object.
      type: object
      required:
        - deposit_hash
        - nonce
        - request_id
        - share_price
        - signature
        - signature_expiry_sec
        - signer
        - subaccount_id
      properties:
        deposit_hash:
          description: 0x-prefixed hex of the 32-byte user deposit-action hash.
          type: string
        nonce:
          type: integer
          format: uint64
          minimum: 0
        request_id:
          $ref: '#/components/schemas/VaultRequestId'
        share_price:
          description: >-
            Quoted share price in USD per share, as a decimal string (e.g.
            `"1.02"`).
          type: string
          format: decimal
        signature:
          description: 0x-prefixed hex of the 65-byte EOA signature.
          type: string
        signature_expiry_sec:
          type: integer
          format: uint64
          minimum: 0
        signer:
          $ref: '#/components/schemas/Address'
        subaccount_id:
          description: >-
            The subaccount the action is signed on; which subaccount applies
            depends on the specific method — see that method's reference.
          type: integer
          format: uint64
          minimum: 0
    VaultSettleResponse:
      description: >-
        Returned by `mint_vault_shares` / `burn_vault_shares`: identifiers to
        track the on-chain `MintShares` / `BurnShares` settlement.
      type: object
      required:
        - op_uuid
        - operation_id
      properties:
        op_uuid:
          type: string
        operation_id:
          type: integer
          format: uint64
          minimum: 0
    VaultRequestId:
      description: |-
        Composite vault request id: `(vault_subaccount_id, wallet, vault_nonce)`

        Useful as a stable dedup key across off-chain and on-chain vault events.
      type: object
      required:
        - vault_nonce
        - vault_subaccount_id
        - wallet
      properties:
        vault_nonce:
          type: string
        vault_subaccount_id:
          type: integer
          format: uint64
          minimum: 0
        wallet:
          $ref: '#/components/schemas/Address'
    Address:
      description: 20-byte Ethereum address as a 0x-prefixed lowercase hex string.
      type: string
      maxLength: 42
      minLength: 42
      pattern: ^0x[0-9a-fA-F]{40}$

````

## Related topics

- [Settle a queued vault withdrawal](/api-reference/vault-curators/settle-a-queued-vault-withdrawal.md)
- [Request a deposit into a vault](/api-reference/vault-shareholders/request-a-deposit-into-a-vault.md)
- [Process Deposits & Withdrawals](/vaults/deposits-withdrawals.md)
