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

# Get Block Transfers

> Get all token transfers in a block



## OpenAPI

````yaml GET /api/v1/customer/{chain}/blocks/transfers
openapi: 3.1.0
info:
  title: SonarX EVM API - Transfers
  description: >-
    Query token transfers (ERC-20, ERC-721, ERC-1155) on EVM-compatible
    networks.
  version: 1.0.0
servers:
  - url: https://api-gateway.sonarx.com
    description: Production API
security:
  - apiKey: []
tags:
  - name: Transfers
    description: Query token transfers (ERC-20, ERC-721, ERC-1155)
paths:
  /api/v1/customer/{chain}/blocks/transfers:
    get:
      tags:
        - Transfers
      summary: Get Block Transfers
      description: Get all token transfers in a block.
      operationId: getBlockTransfers
      parameters:
        - $ref: '#/components/parameters/ChainPath'
        - name: block_number
          in: query
          description: Block number to query (>= 0)
          required: true
          schema:
            type: integer
            minimum: 0
            example: 81901165
        - name: limit
          in: query
          description: Maximum number of results (1-100)
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 50
            default: 10
        - $ref: '#/components/parameters/Offset'
      responses:
        '200':
          description: Block transfers
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransferResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  parameters:
    ChainPath:
      name: chain
      in: path
      description: The blockchain network to query
      required: true
      schema:
        type: string
        enum:
          - polygon
        example: polygon
    Offset:
      name: offset
      in: query
      description: Number of results to skip for pagination
      required: false
      schema:
        type: integer
        minimum: 0
        default: 0
  schemas:
    TransferResponse:
      type: object
      properties:
        offset:
          type: integer
        limit:
          type: integer
        result:
          type: array
          items:
            $ref: '#/components/schemas/Transfer'
        count:
          type: integer
      example:
        offset: 0
        limit: 10
        result:
          - block_number: 81901165
            timestamp: 1768922302
            datetime: '2026-01-20T15:18:22'
            transaction_hash: '0xffac055a26c586c5007fb6218dd74296468eacf7491b9ac8f5c83060c4cefe53'
            log_index: 1
            from_address: '0xd3cec4a2bd3df22d0edb0c66d20ea0b45cfe3daf'
            to_address: '0x89f8efdb51399d0f77e21e99dcc5ee7eabfe0576'
            asset_class: erc20
            token_address: '0xa3fb72cbf2e07dc1b34aea569ed40755fd978bd8'
            symbol: OPX
            name: Opex
            source_value: 7000000000
            version: 0
            value: 7000
            usd_value: null
          - block_number: 81901165
            timestamp: 1768922302
            datetime: '2026-01-20T15:18:22'
            transaction_hash: '0xc8ffeea4d260efcc24a0b109fc60b6e33a32d40146f439dbf26fef0bd0c91c8e'
            log_index: 3
            from_address: '0x6dd23e950878b1142772335cd122e92d47876c3e'
            to_address: '0x63633b353e2bc21642becb935a029cc199e68fb1'
            asset_class: erc20
            token_address: '0xa3fb72cbf2e07dc1b34aea569ed40755fd978bd8'
            symbol: OPX
            name: Opex
            source_value: 250000000
            version: 0
            value: 250
            usd_value: null
        count: 2
    Transfer:
      type: object
      properties:
        block_number:
          type: integer
          description: Block number
        timestamp:
          type: integer
          description: Unix timestamp
        datetime:
          type: string
          format: date-time
        transaction_hash:
          type: string
          description: Transaction hash
        log_index:
          type: integer
          description: Index of the transfer event
        from_address:
          type: string
          description: Sender address
        to_address:
          type: string
          description: Recipient address
        asset_class:
          type: string
          description: Type of asset (erc20, erc721, erc1155)
        token_address:
          type: string
          description: Contract address of the token
        symbol:
          type: string
          description: Token symbol
        name:
          type: string
          description: Token name
        source_value:
          type: integer
          description: Raw transfer value (before decimal conversion)
        version:
          type: integer
        value:
          type: number
          description: Transfer amount (decimal adjusted)
        usd_value:
          type: number
          nullable: true
          description: USD value of the transfer
      example:
        block_number: 81901165
        timestamp: 1768922302
        datetime: '2026-01-20T15:18:22'
        transaction_hash: '0xffac055a26c586c5007fb6218dd74296468eacf7491b9ac8f5c83060c4cefe53'
        log_index: 1
        from_address: '0xd3cec4a2bd3df22d0edb0c66d20ea0b45cfe3daf'
        to_address: '0x89f8efdb51399d0f77e21e99dcc5ee7eabfe0576'
        asset_class: erc20
        token_address: '0xa3fb72cbf2e07dc1b34aea569ed40755fd978bd8'
        symbol: OPX
        name: Opex
        source_value: 7000000000
        version: 0
        value: 7000
        usd_value: null
    ErrorResponse:
      type: object
      properties:
        detail:
          type: string
      required:
        - detail
  responses:
    BadRequest:
      description: Bad Request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: Not Found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalError:
      description: Internal Server Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: apikey
      description: API key for authentication

````