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

# GetWalletInfo

> Get a single wallet by address or customer reference.

Returns one wallet by its blockchain **address** or your **ref** (customer reference). Provide either `address` or `ref`, not both.


## OpenAPI

````yaml openapi.json POST /v1/getWalletInfo
openapi: 3.1.0
info:
  title: mpcvault.platform.v1
  version: 0.0.1
servers:
  - url: https://api.mpcvault.com
    description: MPCVault API Server
security:
  - ApiKeyAuth: []
tags:
  - name: mpcvault.platform.v1.PlatformAPI
  - name: mpcvault.sweep.v1.SweepAPI
    description: >-
      Deposit address creation and TRON watch address registration for the Sweep
      product.
paths:
  /v1/getWalletInfo:
    post:
      tags:
        - mpcvault.platform.v1.PlatformAPI
      summary: GetWalletInfo
      description: GetWalletInfo returns the details of a wallet.
      operationId: mpcvault.platform.v1.PlatformAPI.GetWalletInfo
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/mpcvault.platform.v1.GetWalletInfoRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/mpcvault.platform.v1.GetWalletInfoResponse
components:
  schemas:
    mpcvault.platform.v1.GetWalletInfoRequest:
      type: object
      properties:
        address:
          type: string
          description: Address of the wallet in the network.
        ref:
          type: string
          description: Unique identifier for the wallet as configured by the user.
      additionalProperties: false
      allOf:
        - x-protobuf-oneof: type
          if:
            type: object
          then:
            oneOf:
              - required:
                  - address
                properties:
                  address:
                    not:
                      type: 'null'
              - required:
                  - ref
                properties:
                  ref:
                    not:
                      type: 'null'
      x-protobuf-oneofs:
        type:
          - address
          - ref
      description: >-
        Set exactly one of `address` and `ref`. A request with neither, with
        both, or with an empty string is rejected. `ref` is looked up within
        your organization.
    mpcvault.platform.v1.GetWalletInfoResponse:
      type: object
      properties:
        details:
          anyOf:
            - $ref: '#/components/schemas/mpcvault.platform.v1.Wallet'
            - type: 'null'
        error:
          anyOf:
            - $ref: '#/components/schemas/mpcvault.platform.v1.Error'
            - type: 'null'
      additionalProperties: false
    mpcvault.platform.v1.Wallet:
      type: object
      properties:
        vaultUuid:
          type: string
          description: UUID of the vault that the wallet was created in.
          format: uuid
          example: <string>
        keyType:
          enum:
            - KEY_TYPE_UNSPECIFIED
            - KEY_TYPE_ECC_SECP256K1
            - KEY_TYPE_ECC_ED25519
          type: string
          description: Type of the key.
          format: enum
          example: KEY_TYPE_ECC_ED25519
        keyPath:
          type: string
          description: Path of the key.
          example: path/to/key
        publicKey:
          type: string
          description: Public key of the key.
          format: byte
          example: <string>
        networkType:
          enum:
            - NETWORK_TYPE_UNKNOWN
            - NETWORK_TYPE_EVM
            - NETWORK_TYPE_BITCOIN
            - NETWORK_TYPE_TRON
            - NETWORK_TYPE_APTOS
            - NETWORK_TYPE_SUI
            - NETWORK_TYPE_SOLANA
            - NETWORK_TYPE_TON
            - NETWORK_TYPE_STELLAR
          type: string
          description: Type of the network.
          format: enum
          example: NETWORK_TYPE_EVM
        address:
          type: string
          description: Address of the wallet in the network.
          example: <string>
        ref:
          type: string
          description: Unique identifier for the wallet as configured by the user.
          example: customer-wallet-001
        status:
          enum:
            - STATUS_UNSPECIFIED
            - STATUS_PENDING
            - STATUS_ACTIVE
            - STATUS_ARCHIVED
          type: string
          description: Status of the wallet.
          format: enum
          example: STATUS_ACTIVE
        name:
          type: string
          description: Name for the wallet.
          example: 'test wallet '
      additionalProperties: false
    mpcvault.platform.v1.Error:
      type: object
      properties:
        message:
          type: string
        serviceErrorCode:
          enum:
            - SERVICE_ERROR_CODE_UNSPECIFIED
            - SERVICE_ERROR_CODE_ORG_SUBSCRIBED_PLAN_LIMIT_EXCEED
            - SERVICE_ERROR_CODE_ORG_SUBSCRIBED_PLAN_EXPIRED
            - SERVICE_ERROR_CODE_ORG_SUBSCRIBED_PLAN_NOT_SUPPORT
            - SERVICE_ERROR_CODE_ORG_PENDING_SIGNING_REQUEST_LIMIT_EXCEEDED
          type: string
          format: enum
        executeSigningRequestsErrorCode:
          enum:
            - EXECUTE_SIGNING_REQUESTS_ERROR_CODE_UNSPECIFIED
            - EXECUTE_SIGNING_REQUESTS_ERROR_CODE_INSUFFICIENT_FUNDS
            - EXECUTE_SIGNING_REQUESTS_ERROR_CODE_ALREADY_DENIED
            - EXECUTE_SIGNING_REQUESTS_ERROR_CODE_INSUFFICIENT_GAS_FEE
            - EXECUTE_SIGNING_REQUESTS_ERROR_CODE_ADDRESS_NOT_IN_WHITELIST
            - EXECUTE_SIGNING_REQUESTS_ERROR_CODE_POLICY_APPROVAL_PENDING
            - EXECUTE_SIGNING_REQUESTS_ERROR_CODE_POLICY_BLOCKED
            - EXECUTE_SIGNING_REQUESTS_ERROR_CODE_POLICY_CONFIGURATION_ERROR
          type: string
          format: enum
      additionalProperties: false
      allOf:
        - x-protobuf-oneof: ErrorCode
          if:
            type: object
          then:
            oneOf:
              - required:
                  - executeSigningRequestsErrorCode
                properties:
                  executeSigningRequestsErrorCode:
                    not:
                      type: 'null'
              - required:
                  - serviceErrorCode
                properties:
                  serviceErrorCode:
                    not:
                      type: 'null'
              - not:
                  anyOf:
                    - required:
                        - executeSigningRequestsErrorCode
                      properties:
                        executeSigningRequestsErrorCode:
                          not:
                            type: 'null'
                    - required:
                        - serviceErrorCode
                      properties:
                        serviceErrorCode:
                          not:
                            type: 'null'
      x-protobuf-oneofs:
        ErrorCode:
          - executeSigningRequestsErrorCode
          - serviceErrorCode
      description: Exactly one of the two error code fields is set.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-mtoken
      description: Your API token. Required for all API requests.

````

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