Moralis · Capability

EVM API — Get Ownership

EVM API — Get Ownership. 1 operations. Lead operation: Get ERC20 token owners by contract. Self-contained Naftiko capability covering one Moralis business surface.

Run with Naftiko MoralisGet Ownership

What You Can Do

GET
Gettokenowners — Get ERC20 token owners by contract
/v1/erc20/{token-address}/owners

MCP Tools

get-erc20-token-owners-contract

Get ERC20 token owners by contract

read-only idempotent

Capability Spec

evm-get-ownership.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: EVM API — Get Ownership
  description: 'EVM API — Get Ownership. 1 operations. Lead operation: Get ERC20 token owners by contract. Self-contained
    Naftiko capability covering one Moralis business surface.'
  tags:
  - Moralis
  - Get Ownership
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MORALIS_API_KEY: MORALIS_API_KEY
capability:
  consumes:
  - type: http
    namespace: evm-get-ownership
    baseUri: https://deep-index.moralis.io/api/v2.2
    description: EVM API — Get Ownership business capability. Self-contained, no shared references.
    resources:
    - name: erc20-token_address-owners
      path: /erc20/{token_address}/owners
      operations:
      - name: gettokenowners
        method: GET
        description: Get ERC20 token owners by contract
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: chain
          in: query
          type: string
          description: The chain to query
        - name: token_address
          in: path
          type: string
          description: The address of the token contract
          required: true
        - name: limit
          in: query
          type: integer
          description: The desired page size of the result.
        - name: cursor
          in: query
          type: string
          description: The cursor returned in the previous response (used for getting the next page).
        - name: order
          in: query
          type: string
          description: The order of the result, in ascending (ASC) or descending (DESC)
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.MORALIS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: evm-get-ownership-rest
    port: 8080
    description: REST adapter for EVM API — Get Ownership. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/erc20/{token-address}/owners
      name: erc20-token-address-owners
      description: REST surface for erc20-token_address-owners.
      operations:
      - method: GET
        name: gettokenowners
        description: Get ERC20 token owners by contract
        call: evm-get-ownership.gettokenowners
        with:
          chain: rest.chain
          token_address: rest.token_address
          limit: rest.limit
          cursor: rest.cursor
          order: rest.order
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: evm-get-ownership-mcp
    port: 9090
    transport: http
    description: MCP adapter for EVM API — Get Ownership. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-erc20-token-owners-contract
      description: Get ERC20 token owners by contract
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: evm-get-ownership.gettokenowners
      with:
        chain: tools.chain
        token_address: tools.token_address
        limit: tools.limit
        cursor: tools.cursor
        order: tools.order
      outputParameters:
      - type: object
        mapping: $.