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

# getAssetsByAuthority

> Получение всех NFT Solana, сжатых NFT и токенов, контролируемых указанным уполномоченным адресом, с поддержкой пагинации

## Параметры запроса

<ParamField body="authorityAddress" type="string" required>
  Адрес владельца, активы которого необходимо получить.
</ParamField>

<ParamField body="page" type="number">
  Страница результатов, которую необходимо вернуть.
</ParamField>

<ParamField body="limit" type="number">
  Максимальное количество возвращаемых активов.
</ParamField>

<ParamField body="sortBy" type="object">
  Параметры сортировки ответа.
</ParamField>

<ParamField body="sortBy.sortBy" type="string">
  Критерий сортировки полученных активов.

  * `created`
  * `recent_action`
  * `updated`
  * `none`
</ParamField>

<ParamField body="sortBy.sortDirection" type="string">
  Направление сортировки полученных активов.

  * `asc`
  * `desc`
</ParamField>

<ParamField body="before" type="string">
  Курсор для обратной пагинации по активам.
</ParamField>

<ParamField body="after" type="string">
  Курсор для прямой пагинации по активам.
</ParamField>

<ParamField body="options" type="object">
  Параметры отображения ответа.
</ParamField>

<ParamField body="options.showUnverifiedCollections" type="boolean" default="false">
  Отображает сведения о группировке для неподтвержденных коллекций вместо их пропуска.
</ParamField>

<ParamField body="options.showCollectionMetadata" type="boolean" default="false">
  Отображает метаданные коллекции.
</ParamField>

<ParamField body="options.showGrandTotal" type="boolean" default="false">
  Показывает общее количество активов, соответствующих запросу. Этот параметр замедляет выполнение запроса.
</ParamField>


## OpenAPI

````yaml ru/openapi/das-api/getAssetsByAuthority.yaml POST /
openapi: 3.1.0
info:
  title: Solana RPC API
  version: 1.0.0
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://mainnet.helius-rpc.com
    description: Конечная точка RPC основной сети
  - url: https://devnet.helius-rpc.com
    description: Конечная точка RPC сети разработки
security: []
paths:
  /:
    post:
      tags:
        - RPC
      summary: getAssetsByAuthority
      description: Возвращает список активов, принадлежащих указанному центру управления.
      operationId: rpc
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - id
                - method
                - params
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - '2.0'
                  description: Версия протокола JSON-RPC.
                  default: '2.0'
                id:
                  type: string
                  description: Идентификатор запроса.
                  default: '1'
                method:
                  type: string
                  enum:
                    - getAssetsByAuthority
                  description: Имя вызываемого метода DAS.
                  default: getAssetsByAuthority
                params:
                  type: object
                  default:
                    authorityAddress: 2RtGg6fsFiiF1EQzHqbd66AhW7R5bWeQGpTbv2UMkCdW
                  properties:
                    authorityAddress:
                      type: string
                      description: Адрес владельца, активы которого необходимо получить.
                      example: 2RtGg6fsFiiF1EQzHqbd66AhW7R5bWeQGpTbv2UMkCdW
                    page:
                      type: integer
                      description: Возвращаемая страница результатов.
                      example: 1
                    limit:
                      type: integer
                      description: Максимальное количество возвращаемых активов.
                      example: 100
                    sortBy:
                      type: object
                      description: Параметры сортировки ответа.
                      properties:
                        sortBy:
                          type: string
                          description: Критерий сортировки полученных активов.
                          enum:
                            - created
                            - recent_action
                            - updated
                            - none
                        sortDirection:
                          type: string
                          description: Направление сортировки полученных активов.
                          enum:
                            - asc
                            - desc
                    before:
                      type: string
                      description: >-
                        Курсор для постраничного просмотра активов в обратном
                        направлении.
                      example: string
                    after:
                      type: string
                      description: >-
                        Курсор для постраничного просмотра активов в прямом
                        направлении.
                      example: string
                    options:
                      type: object
                      description: Параметры отображения ответа.
                      properties:
                        showUnverifiedCollections:
                          type: boolean
                          description: >-
                            Отображает сведения о группировке для непроверенных
                            коллекций вместо их пропуска.
                          default: false
                        showCollectionMetadata:
                          type: boolean
                          description: Отображает метаданные коллекции.
                          default: false
                        showGrandTotal:
                          type: boolean
                          description: >-
                            Показывает общее количество активов, соответствующих
                            запросу. Этот параметр замедляет выполнение запроса.
                          default: false
                  required:
                    - authorityAddress
      responses:
        '200':
          description: Успешный ответ
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  result:
                    type: object
                    properties:
                      last_indexed_slot:
                        type: integer
                        description: >-
                          Гарантируется, что все данные вплоть до этого слота
                          включительно проиндексированы.
                        example: 365750752
                      total:
                        type: integer
                        description: Общее количество найденных активов.
                        example: 1
                      limit:
                        type: integer
                        description: Запрошенное максимальное количество активов.
                        example: 1
                      page:
                        type: integer
                        description: Текущая страница результатов.
                        example: 1
                      items:
                        type: array
                        description: Массив активов.
                        items:
                          type: object
                          properties:
                            interface:
                              type: string
                              description: Интерфейс актива.
                              enum:
                                - V1_NFT
                                - V1_PRINT
                                - LEGACY_NFT
                                - V2_NFT
                                - FungibleAsset
                                - FungibleToken
                                - Custom
                                - Identity
                                - Executable
                                - ProgrammableNFT
                                - MplCoreAsset
                                - MplBubblegumV2
                                - MplCoreCollection
                                - MplCoreGroup
                              example: ProgrammableNFT
                            is_agent:
                              type: boolean
                              description: >-
                                Указывает, есть ли у этого актива идентификатор
                                агента (внешний плагин MPL Core AgentIdentity).
                                Если значение равно false, поле отсутствует.
                            agent_token:
                              type: string
                              description: >-
                                Адрес выпуска токена агента из программы Agent
                                Registry в кодировке Base58. Если токен не
                                зарегистрирован, поле отсутствует.
                            asset_signer:
                              type: string
                              description: >-
                                PDA подписанта актива для MPL Core в кодировке
                                Base58. Если поле неприменимо, оно отсутствует.
                            plugins:
                              type: object
                              description: >-
                                Плагины MPL Core, включая необязательное
                                членство в `groups` по стандарту MIP-11.
                              additionalProperties: true
                            id:
                              type: string
                              description: Идентификатор актива.
                              example: JEGruwYE13mhX2wi2MGrPmeLiVyZtbBptmVy9vG3pXRC
                            content:
                              type: object
                              description: Содержимое актива.
                              example:
                                $schema: https://schema.metaplex.com/nft1.0.json
                                json_uri: >-
                                  https://madlads.s3.us-west-2.amazonaws.com/json/6867.json
                                files:
                                  - uri: >-
                                      https://madlads.s3.us-west-2.amazonaws.com/images/6867.png
                                    cdn_uri: >-
                                      https://cdn.helius-rpc.com/cdn-cgi/image//https://madlads.s3.us-west-2.amazonaws.com/images/6867.png
                                    mime: image/png
                            authorities:
                              type: array
                              items:
                                type: object
                              description: Центры управления активом.
                              example:
                                - address: 2RtGg6fsFiiF1EQzHqbd66AhW7R5bWeQGpTbv2UMkCdW
                                  scopes:
                                    - full
                            compression:
                              type: object
                              description: Сведения о сжатии актива.
                              example:
                                eligible: false
                                compressed: false
                                data_hash: ''
                                creator_hash: ''
                                asset_hash: ''
                                tree: ''
                                seq: 0
                                leaf_id: 0
                            grouping:
                              type: object
                              description: Сведения о группировке актива.
                              example:
                                - group_key: collection
                                  group_value: J1S9H3QjnRtBbbuD4HjPV6RpRhwuk4zKbxsnCHuTgh9w
                            royalty:
                              type: object
                              description: Сведения о роялти актива.
                              example:
                                royalty_model: creators
                                target: null
                                percent: 0.042
                                basis_points: 420
                                primary_sale_happened: true
                                locked: false
                            creators:
                              type: array
                              items:
                                type: object
                              description: Сведения о создателях актива.
                              example:
                                - address: 5XvhfmRjwXkGp3jHGmaKpqeerNYjkuZZBYLVQYdeVcRv
                                  share: 0
                                  verified: true
                            ownership:
                              type: object
                              description: Сведения о владении активом.
                              example:
                                frozen: true
                                delegated: false
                                delegate: null
                                ownership_model: single
                                owner: 3F21SJs4FMpsakrxmd8GjgfQZG6BN6MVsvXcm5Yc6Jcf
                            burnt: false
        '400':
          description: >-
            Некорректный запрос. Серверу не удалось распознать запрос из-за
            неверного синтаксиса.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32602
                      message:
                        type: string
                        example: Недопустимые параметры запроса.
                  id:
                    type: string
                    example: '1'
        '401':
          description: >-
            Не авторизовано. Клиент должен пройти аутентификацию, чтобы получить
            запрошенный ответ.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32001
                      message:
                        type: string
                        example: >-
                          Ошибка аутентификации. Ключ API отсутствует или
                          недействителен.
                  id:
                    type: string
                    example: '1'
        '403':
          description: Доступ запрещен. У клиента нет прав доступа к содержимому.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32003
                      message:
                        type: string
                        example: У вас нет разрешения на доступ к этому ресурсу.
                  id:
                    type: string
                    example: '1'
        '404':
          description: Не найдено. Сервер не может найти запрошенный ресурс.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32004
                      message:
                        type: string
                        example: Для указанного центра управления активы не найдены.
                  id:
                    type: string
                    example: '1'
        '429':
          description: >-
            Слишком много запросов. Пользователь отправил слишком много запросов
            за заданный промежуток времени.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32029
                      message:
                        type: string
                        example: Превышен лимит запросов. Повторите попытку позже.
                  id:
                    type: string
                    example: '1'
        '500':
          description: >-
            Внутренняя ошибка сервера. Сервер столкнулся с ситуацией, которую не
            может обработать.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32000
                      message:
                        type: string
                        example: На сервере произошла непредвиденная ошибка.
                  id:
                    type: string
                    example: '1'
      security:
        - ApiKeyQuery: []
components:
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: >-
        Ваш ключ API Helius. Его можно бесплатно получить в [панели
        управления](https://dashboard.helius.dev/api-keys).

````

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