Moralis · Capability

EVM API — Get Transactions

EVM API — Get Transactions. 2 operations. Lead operation: Get ERC20 token transfers by contract address. Self-contained Naftiko capability covering one Moralis business surface.

Run with Naftiko MoralisGet Transactions

What You Can Do

GET
Gettokentransfers — Get ERC20 token transfers by contract address
/v1/erc20/{address}/transfers
GET
Getwallettokentransfers — Get ERC20 token transfers by wallet address
/v1/{address}/erc20/transfers

MCP Tools

get-erc20-token-transfers-contract

Get ERC20 token transfers by contract address

read-only idempotent
get-erc20-token-transfers-wallet

Get ERC20 token transfers by wallet address

read-only idempotent

Capability Spec

evm-get-transactions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: EVM API — Get Transactions
  description: 'EVM API — Get Transactions. 2 operations. Lead operation: Get ERC20 token transfers by contract address. Self-contained
    Naftiko capability covering one Moralis business surface.'
  tags:
  - Moralis
  - Get Transactions
  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-transactions
    baseUri: https://deep-index.moralis.io/api/v2.2
    description: EVM API — Get Transactions business capability. Self-contained, no shared references.
    resources:
    - name: erc20-address-transfers
      path: /erc20/{address}/transfers
      operations:
      - name: gettokentransfers
        method: GET
        description: Get ERC20 token transfers by contract address
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: chain
          in: query
          type: string
          description: The chain to query
        - name: from_block
          in: query
          type: integer
          description: The minimum block number from which to get the transfers
        - name: to_block
          in: query
          type: integer
          description: The maximum block number from which to get the transfers.
        - name: from_date
          in: query
          type: string
          description: The start date from which to get the transfers (format in seconds or datestring accepted by momentjs)
        - name: to_date
          in: query
          type: string
          description: Get transfers up until this date (format in seconds or datestring accepted by momentjs)
        - name: 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: order
          in: query
          type: string
          description: The order of the result, in ascending (ASC) or descending (DESC)
        - name: cursor
          in: query
          type: string
          description: The cursor returned in the previous response (used for getting the next page).
    - name: address-erc20-transfers
      path: /{address}/erc20/transfers
      operations:
      - name: getwallettokentransfers
        method: GET
        description: Get ERC20 token transfers by wallet address
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: chain
          in: query
          type: string
          description: The chain to query
        - name: from_block
          in: query
          type: integer
          description: The minimum block number from which to get the transactions
        - name: to_block
          in: query
          type: integer
          description: The maximum block number from which to get the transactions.
        - name: from_date
          in: query
          type: string
          description: The start date from which to get the transactions (format in seconds or datestring accepted by momentjs)
        - name: to_date
          in: query
          type: string
          description: Get the transactions up to this date (format in seconds or datestring accepted by momentjs)
        - name: address
          in: path
          type: string
          description: The address of the wallet
          required: true
        - name: contract_addresses
          in: query
          type: array
          description: List of contract addresses of transfers
        - name: limit
          in: query
          type: integer
          description: The desired page size of the result.
        - name: order
          in: query
          type: string
          description: The order of the result, in ascending (ASC) or descending (DESC)
        - name: cursor
          in: query
          type: string
          description: The cursor returned in the previous response (used for getting the next page).
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.MORALIS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: evm-get-transactions-rest
    port: 8080
    description: REST adapter for EVM API — Get Transactions. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/erc20/{address}/transfers
      name: erc20-address-transfers
      description: REST surface for erc20-address-transfers.
      operations:
      - method: GET
        name: gettokentransfers
        description: Get ERC20 token transfers by contract address
        call: evm-get-transactions.gettokentransfers
        with:
          chain: rest.chain
          from_block: rest.from_block
          to_block: rest.to_block
          from_date: rest.from_date
          to_date: rest.to_date
          address: rest.address
          limit: rest.limit
          order: rest.order
          cursor: rest.cursor
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/{address}/erc20/transfers
      name: address-erc20-transfers
      description: REST surface for address-erc20-transfers.
      operations:
      - method: GET
        name: getwallettokentransfers
        description: Get ERC20 token transfers by wallet address
        call: evm-get-transactions.getwallettokentransfers
        with:
          chain: rest.chain
          from_block: rest.from_block
          to_block: rest.to_block
          from_date: rest.from_date
          to_date: rest.to_date
          address: rest.address
          contract_addresses: rest.contract_addresses
          limit: rest.limit
          order: rest.order
          cursor: rest.cursor
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: evm-get-transactions-mcp
    port: 9090
    transport: http
    description: MCP adapter for EVM API — Get Transactions. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-erc20-token-transfers-contract
      description: Get ERC20 token transfers by contract address
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: evm-get-transactions.gettokentransfers
      with:
        chain: tools.chain
        from_block: tools.from_block
        to_block: tools.to_block
        from_date: tools.from_date
        to_date: tools.to_date
        address: tools.address
        limit: tools.limit
        order: tools.order
        cursor: tools.cursor
      outputParameters:
      - type: object
        mapping: $.
    - name: get-erc20-token-transfers-wallet
      description: Get ERC20 token transfers by wallet address
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: evm-get-transactions.getwallettokentransfers
      with:
        chain: tools.chain
        from_block: tools.from_block
        to_block: tools.to_block
        from_date: tools.from_date
        to_date: tools.to_date
        address: tools.address
        contract_addresses: tools.contract_addresses
        limit: tools.limit
        order: tools.order
        cursor: tools.cursor
      outputParameters:
      - type: object
        mapping: $.