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

# Get a gVault

> Returns the organization's contract, confirmed onchain fees and latest fee update. Fees and feeUpdate are null for legacy direct integrations.



## OpenAPI

````yaml swagger/swagger-combined.yaml GET /v2/gvaults/{gVaultId}
openapi: 3.0.0
info:
  title: Ground API
  description: Core API for Portfolio Wallets, gtokens, MicroVaults, and webhooks.
  version: 2.0.0
servers:
  - url: https://sandbox.groundtech.co
  - url: https://production.groundtech.co
security:
  - bearerAuth: []
tags:
  - name: System
    description: System health and utility endpoints.
  - name: Sandbox Faucets
    description: Sandbox-only test token faucets.
  - name: Portfolio Wallets
    description: >-
      Portfolio wallets with strategy allocation, deposits, withdrawals, and
      yield positions.
  - name: gVaults
    description: >-
      Direct access to gtokens with deposit access controls and optional fee
      wrappers.
  - name: MicroVaults
    description: >-
      Customer-owned onchain vaults with externally held ERC-20 shares. Private
      preview in sandbox on Ethereum Sepolia.
  - name: Webhook Endpoints
    description: Webhook endpoint management for portfolio wallet notifications.
paths:
  /v2/gvaults/{gVaultId}:
    parameters:
      - name: gVaultId
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/GVaultId'
    get:
      tags:
        - gVaults
      summary: Get a gVault
      description: >-
        Returns the organization's contract, confirmed onchain fees and latest
        fee update. Fees and feeUpdate are null for legacy direct integrations.
      operationId: getGVault
      responses:
        '200':
          description: Organization gVault.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GVault'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          description: >-
            Production gToken access is disabled. Contact Ground admin to enable
            access. Sandbox does not require production enablement.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: >-
                  Gtoken access is not enabled for your organization. Please
                  contact Ground admin.
                code: product_not_enabled
        '404':
          description: gVault not found for this organization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: gVault provisioning is incomplete.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
components:
  schemas:
    GVaultId:
      type: string
      description: >-
        Organization gVault UUID returned by discovery. Existing approved direct
        integrations retain their source slug.
      pattern: >-
        ^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89aAbB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|ground-ustb-vault|ground-tempo-prime-vault)$
      example: 8f4c52d7-62ab-4db9-a964-92f481f6b851
    GVault:
      type: object
      additionalProperties: false
      required:
        - id
        - name
        - chain
        - contractAddress
        - asset
        - fees
        - feeUpdate
      properties:
        id:
          $ref: '#/components/schemas/GVaultId'
        yieldSourceId:
          type: string
          enum:
            - ground-ustb-vault
            - ground-tempo-prime-vault
        name:
          type: string
        chain:
          $ref: '#/components/schemas/GVaultChain'
        contractAddress:
          $ref: '#/components/schemas/NonzeroEvmAddress'
        shareTokenAddress:
          $ref: '#/components/schemas/NonzeroEvmAddress'
        asset:
          $ref: '#/components/schemas/GVaultAsset'
        fees:
          $ref: '#/components/schemas/GVaultFees'
        feeUpdate:
          $ref: '#/components/schemas/GVaultFeeUpdate'
      example:
        id: 8f4c52d7-62ab-4db9-a964-92f481f6b851
        yieldSourceId: ground-ustb-vault
        name: Ground USTB gVault
        chain: ethereum
        contractAddress: '0x5a68cfE0DCCcfA4991e5a92d2c382b15B41C4119'
        asset:
          symbol: USDC
          contractAddress: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48'
          decimals: 6
        fees:
          feeRecipientAddress: '0x2222222222222222222222222222222222222222'
          performanceFeeBps: 1500
          maxPerformanceFeeBps: 9999
          managementFeeBps: 20
          groundManagementFeeBps: 10
          totalManagementFeeBps: 30
          maxManagementFeeBps: 9999
        feeUpdate: null
    ErrorResponse:
      type: object
      required:
        - error
        - code
      properties:
        error:
          type: string
          description: >-
            Human-readable error message. May change without notice; do not
            parse programmatically.
        code:
          type: string
          description: >-
            Machine-readable error code. Stable across API versions — safe to
            switch on in client code.
          enum:
            - validation_error
            - unknown_parameters
            - payload_too_large
            - unsupported_media_type
            - submission_id_conflict
            - feedback_unavailable
            - unsupported_chain
            - unsupported_token
            - invalid_destination_address
            - stellar_destination_account_not_active
            - stellar_destination_usdc_not_enabled
            - precision_overflow
            - invalid_cursor
            - unauthenticated
            - forbidden
            - wallet_not_found
            - wallet_limit_reached
            - withdrawal_not_found
            - deposit_not_found
            - yield_source_not_found
            - wallet_projection_unavailable
            - insufficient_funds
            - duplicate_request_id
            - request_id_conflict
            - invalid_position_weight
            - invalid_withdrawal_plan
            - payout_not_found
            - webhook_not_found
            - webhook_duplicate_url
            - withdrawal_not_cancellable
            - withdrawal_already_cancelled
            - withdrawal_payout_in_progress
            - withdrawal_policy_required
            - workflow_conflict
            - stale_rebalance_plan
            - stale_wallet_strategy
            - payout_already_terminal
            - payout_in_progress
            - payout_not_retryable
            - address_book_entry_not_found
            - address_book_duplicate_entry
            - address_book_whitelist_violation
            - rate_limited
            - rate_limit_exceeded
            - internal_error
            - wallet_creation_failed
            - service_temporarily_unavailable
            - operation_not_supported
            - wallet_withdrawal_active
            - stellar_customer_approval_unavailable
            - withdrawal_signing_required
            - wallet_performance_unavailable
            - tempo_beta_transfer_limit_exceeded
            - product_not_enabled
    GVaultChain:
      type: string
      description: Network of the gtoken backing contract.
      enum:
        - ethereum
        - ethereum_sepolia
        - tempo
        - tempo_moderato
      example: ethereum
    NonzeroEvmAddress:
      type: string
      description: >-
        Valid nonzero EVM EOA or contract address. Mixed-case values must use a
        valid EIP-55 checksum.
      minLength: 42
      maxLength: 42
      pattern: ^0x(?!0{40}$)[0-9a-fA-F]{40}$
      example: '0x3bf25a73a1f1033c2d50ac65f3c9d6a44123db81'
    GVaultAsset:
      type: object
      required:
        - symbol
        - contractAddress
        - decimals
      additionalProperties: false
      properties:
        symbol:
          type: string
        contractAddress:
          $ref: '#/components/schemas/NonzeroEvmAddress'
        decimals:
          type: integer
          minimum: 0
    GVaultFees:
      type: object
      nullable: true
      description: Confirmed onchain fees. Null for legacy direct integrations.
      additionalProperties: false
      required:
        - feeRecipientAddress
        - performanceFeeBps
        - maxPerformanceFeeBps
        - managementFeeBps
        - groundManagementFeeBps
        - totalManagementFeeBps
        - maxManagementFeeBps
      properties:
        feeRecipientAddress:
          $ref: '#/components/schemas/EvmAddress'
        performanceFeeBps:
          type: integer
          minimum: 0
          maximum: 9999
        maxPerformanceFeeBps:
          type: integer
          minimum: 0
          maximum: 9999
          description: Immutable deployed performance ceiling.
        managementFeeBps:
          type: integer
          minimum: 0
          maximum: 9999
          description: Sum of customer and referral annual management rates.
        groundManagementFeeBps:
          type: integer
          minimum: 0
          maximum: 9999
          description: Ground annual management rate; customer requests cannot change it.
        totalManagementFeeBps:
          type: integer
          minimum: 0
          maximum: 9999
          description: Combined customer and Ground annual rate.
        maxManagementFeeBps:
          type: integer
          minimum: 0
          maximum: 9999
          description: Immutable combined annual management ceiling.
    GVaultFeeUpdate:
      type: object
      nullable: true
      required:
        - status
        - transactionHash
      additionalProperties: false
      properties:
        status:
          type: string
          enum:
            - preparing
            - queued
            - submitting
            - awaiting_approval
            - submitted
            - confirmed
            - failed
          description: '`awaiting_approval` means your approval is required.'
        transactionHash:
          $ref: '#/components/schemas/NullableTransactionHash'
        activityId:
          type: string
          nullable: true
        requestedFees:
          allOf:
            - $ref: '#/components/schemas/GVaultFeeRequest'
          nullable: true
          description: >-
            Requested customer fees. Null for Ground fee changes; review the
            proposed terms in the approval activity.
    AuthErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Authentication or authorization error message.
        message:
          type: string
          nullable: true
          description: Additional auth middleware detail, when present.
        code:
          type: string
          nullable: true
          description: >-
            Some auth and scope failures include a stable code; middleware
            errors may omit it.
    ServiceUnavailableError:
      allOf:
        - $ref: '#/components/schemas/ErrorResponse'
        - type: object
          properties:
            retryable:
              type: boolean
              description: Whether the client should retry with the same requestId
    EvmAddress:
      type: string
      description: Valid EVM address. Mixed-case values must use a valid EIP-55 checksum.
      minLength: 42
      maxLength: 42
      pattern: ^0x[0-9a-fA-F]{40}$
      example: '0x92e6a1ed742f0c8502f902c61775f57728985b42'
    NullableTransactionHash:
      type: string
      nullable: true
      description: EVM transaction hash, or null when no transaction was submitted.
      minLength: 66
      maxLength: 66
      pattern: ^0x[0-9a-fA-F]{64}$
      example: '0xabababababababababababababababababababababababababababababababab'
    GVaultFeeRequest:
      type: object
      description: >-
        Update your management rate, performance rate or fee recipient. Updates
        execute automatically before customer signing is enabled. After
        enablement, the configured customer quorum approves through the existing
        Turnkey endpoints. Ground's fee is already configured; changes initiated
        by Ground follow the same customer signing requirements. Omitted fields
        retain their current values. Only one update may be active per gVault.
      minProperties: 1
      additionalProperties: false
      properties:
        feeRecipientAddress:
          $ref: '#/components/schemas/NonzeroEvmAddress'
          description: >-
            Recipient of your management and performance fee shares. Set a
            recipient distinct from Ground before enabling either customer fee.
            Changing it preserves your rates.
        managementFeeBps:
          type: integer
          minimum: 0
          maximum: 9999
          description: >-
            Your annual management rate. Zero removes only your allocation. Your
            rate plus Ground's rate must fit the deployed ceiling and remain
            below 10000 bps.
        performanceFeeBps:
          type: integer
          minimum: 0
          maximum: 9999
          description: Performance rate within the deployed ceiling.
      example:
        feeRecipientAddress: '0x2222222222222222222222222222222222222222'
        managementFeeBps: 20
        performanceFeeBps: 1500
  responses:
    Unauthorized:
      description: >-
        The request is missing a valid bearer token, or the token is invalid or
        expired.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AuthErrorResponse'
          example:
            error: Unauthenticated request
            message: Missing or invalid bearer token
    ServiceUnavailable:
      description: >-
        An upstream dependency is temporarily unavailable. The request can be
        retried with the same `requestId`.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ServiceUnavailableError'
          example:
            error: Service temporarily unavailable
            code: service_temporarily_unavailable
            retryable: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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