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

# Owner-approved local Anvil vault onboarding

> No public-chain writes. Preparations expire after five minutes. Duplicate submissions refuse. Deposit is an owner operation and never agent action evidence.



## OpenAPI

````yaml /openapi/platform.json post /v1/yield/vault/deposit/submit
openapi: 3.1.0
info:
  title: GOL Platform API
  description: >-
    Versioned GOL developer and consumer API. Consumer routes are mounted when
    their runtime integrations are configured.
  version: 0.8.0-rc.1
servers:
  - url: http://localhost:4100
    description: Local development
security: []
tags:
  - name: system
  - name: authentication
  - name: projects
  - name: api-keys
  - name: audit
  - name: gas-executions
  - name: gas-policies
  - name: webhooks
paths:
  /v1/yield/vault/deposit/submit:
    post:
      tags:
        - Yield
      summary: Owner-approved local Anvil vault onboarding
      description: >-
        No public-chain writes. Preparations expire after five minutes.
        Duplicate submissions refuse. Deposit is an owner operation and never
        agent action evidence.
      operationId: submitYieldVaultDeposit
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
                - draftId
                - chainId
                - owner
                - account
                - signature
              properties:
                draftId:
                  format: uuid
                  type: string
                chainId:
                  type: string
                  enum:
                    - '8453'
                    - '84532'
                owner:
                  pattern: ^0x[0-9a-fA-F]{40}$
                  type: string
                account:
                  pattern: ^0x[0-9a-fA-F]{40}$
                  type: string
                signature:
                  type: string
                  pattern: ^0x[0-9a-fA-F]{130}$
      responses:
        '201':
          description: Verified owner onboarding result
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                  - kind
                  - account
                  - vault
                  - asset
                  - amount
                  - shares
                  - userOpHash
                  - txHash
                properties:
                  kind:
                    type: string
                    enum:
                      - owner_deposit
                  account:
                    pattern: ^0x[0-9a-fA-F]{40}$
                    type: string
                  vault:
                    pattern: ^0x[0-9a-fA-F]{40}$
                    type: string
                  asset:
                    pattern: ^0x[0-9a-fA-F]{40}$
                    type: string
                  amount:
                    pattern: ^(0|[1-9][0-9]*)$
                    type: string
                  shares:
                    pattern: ^(0|[1-9][0-9]*)$
                    type: string
                  userOpHash:
                    pattern: ^0x[0-9a-fA-F]{64}$
                    type: string
                  txHash:
                    pattern: ^0x[0-9a-fA-F]{64}$
                    type: string
        '400':
          description: >-
            Invalid, expired, replayed, unsafe, wrong-chain or unauthorized
            request
        '503':
          description: Local onboarding adapter unavailable

````

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