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

# Get vault role

> **User Experience Function**: Unified endpoint for retrieving vault role addresses. 
    
    **Supported roles:**
    - **manager**: Retrieves the current manager address
    - **emergency-manager**: Retrieves the current emergency manager address  
    - **rebalance-manager**: Retrieves the current rebalance manager address
    - **fee-receiver**: Retrieves the current fee receiver address
    
    The role parameter in the URL determines which role address will be retrieved.



## OpenAPI

````yaml GET /vault/{address}/get/{role}
openapi: 3.0.0
info:
  title: DeFindex API
  description: API documentation for DeFindex endpoints
  version: 1.0.0
  contact: {}
  x-logo:
    url: https://links.paltalabs.io/defindex-full.svg
    backgroundColor: '#0e0e0e'
    altText: DeFindex Logo
    href: https://defindex.io
servers: []
security: []
tags: []
paths:
  /vault/{address}/get/{role}:
    get:
      tags:
        - Vault
      summary: Get vault role
      description: >-
        **User Experience Function**: Unified endpoint for retrieving vault role
        addresses. 
            
            **Supported roles:**
            - **manager**: Retrieves the current manager address
            - **emergency-manager**: Retrieves the current emergency manager address  
            - **rebalance-manager**: Retrieves the current rebalance manager address
            - **fee-receiver**: Retrieves the current fee receiver address
            
            The role parameter in the URL determines which role address will be retrieved.
      operationId: VaultController_getRole
      parameters:
        - name: address
          required: true
          in: path
          description: Stellar address of the vault contract
          schema:
            example: CBNKCU3HGFKHFOF7JTGXQCNKE3G3DXS5RDBQUKQMIIECYKXPIOUGB2S3
            type: string
        - name: role
          required: true
          in: path
          schema:
            type: string
        - name: network
          required: true
          in: query
          description: Stellar network to execute the transaction on (testnet or mainnet)
          schema:
            enum:
              - testnet
              - mainnet
            type: string
      responses:
        '400':
          description: Bad request - invalid parameters
        '403':
          description: Forbidden - caller is not authorized for this operation

````

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