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

# Attach an asset and derive a deposit address

> Attaches a catalog asset to an MPC wallet. The service derives the address from stored wallet public-key metadata, the configured chain code, and a server-selected derivation path. Client-provided derivation paths are not accepted.




## OpenAPI

````yaml /api-reference/openapi.yaml put /api/v1/wallets/{wallet_id}/asset/{asset_id}
openapi: 3.0.3
info:
  title: Blockops Wallet API
  version: 0.1.0
  description: >
    The Blockops Wallet API: create MPC wallets, attach assets and read deposit
    addresses and balances, request withdrawals and signing, and manage webhooks
    and API keys.
servers:
  - url: https://wallet-sandbox.blockops.network
security:
  - AccessApiKey: []
    AccessTimestamp: []
    AccessSign: []
tags:
  - name: catalog
  - name: wallets
  - name: balances
  - name: withdrawals
  - name: transactions
  - name: signing
  - name: webhooks
  - name: api-keys
  - name: audit
  - name: observability
paths:
  /api/v1/wallets/{wallet_id}/asset/{asset_id}:
    put:
      tags:
        - wallets
      summary: Attach an asset and derive a deposit address
      description: >
        Attaches a catalog asset to an MPC wallet. The service derives the
        address from stored wallet public-key metadata, the configured chain
        code, and a server-selected derivation path. Client-provided derivation
        paths are not accepted.
      parameters:
        - $ref: '#/components/parameters/WalletID'
        - $ref: '#/components/parameters/AssetID'
      responses:
        '200':
          description: Attached wallet asset.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WalletAssetEnvelope'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '409':
          $ref: '#/components/responses/Conflict'
        '503':
          $ref: '#/components/responses/RouteUnavailable'
components:
  parameters:
    WalletID:
      name: wallet_id
      in: path
      required: true
      schema:
        type: string
    AssetID:
      name: asset_id
      in: path
      required: true
      schema:
        type: string
      description: Catalog asset UUID.
  schemas:
    WalletAssetEnvelope:
      allOf:
        - $ref: '#/components/schemas/EnvelopeBase'
        - type: object
          required:
            - data
          properties:
            data:
              $ref: '#/components/schemas/WalletAsset'
    EnvelopeBase:
      type: object
      required:
        - success
        - message
        - code
      properties:
        success:
          type: boolean
        message:
          type: string
          example: success
        code:
          oneOf:
            - type: integer
            - type: string
          example: 0
    WalletAsset:
      type: object
      required:
        - id
        - wallet_id
        - asset_id
      properties:
        id:
          type: string
        wallet_id:
          type: string
        asset_id:
          type: string
        network_id:
          type: string
        address_type:
          type: string
        address:
          type: string
        deposit_address:
          type: string
        derivation_path:
          type: string
        status:
          type: string
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    ErrorEnvelope:
      allOf:
        - $ref: '#/components/schemas/EnvelopeBase'
        - type: object
          required:
            - data
          properties:
            success:
              type: boolean
              example: false
            data:
              nullable: true
  responses:
    BadRequest:
      description: Invalid request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Unauthorized:
      description: Authentication failed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          example:
            success: false
            message: invalid api signature
            code: unauthorized
            data: null
    Conflict:
      description: Idempotency or state conflict.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    RouteUnavailable:
      description: Route disabled, upstream missing, or dependency unavailable.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  securitySchemes:
    AccessApiKey:
      type: apiKey
      in: header
      name: ACCESS-API-KEY
      description: HMAC API-key identifier.
    AccessTimestamp:
      type: apiKey
      in: header
      name: ACCESS-TIMESTAMP
      description: Unix timestamp in seconds.
    AccessSign:
      type: apiKey
      in: header
      name: ACCESS-SIGN
      description: Base64-encoded hex HMAC signature.

````