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

# Transaction Logs - By Wallet Address

> Retrieves the logs for the transactions where this address is either the originator or a recipient.



## OpenAPI

````yaml get /addresses/{hash}/logs
openapi: 3.1.0
info:
  title: blockchain-api
  version: '2'
servers:
  - url: https://api.amberdata.com/blockchains
security:
  - sec0: []
paths:
  /addresses/{hash}/logs:
    get:
      summary: Transaction Logs - By Wallet Address
      description: >-
        Retrieves the logs for the transactions where this address is either the
        originator or a recipient.
      operationId: get-address-logs
      parameters:
        - name: hash
          in: path
          description: The address to retrieve logs for
          schema:
            type: string
            default: '0x06012c8cf97bead5deae237070f9587f8e7a266d'
          required: true
        - name: blockNumber
          in: query
          description: Filter by logs contained in this block number
          schema:
            type: integer
            format: int32
        - name: transactionHash
          in: query
          description: Filter by logs from a specific transaction hash
          schema:
            type: string
        - name: topic
          in: query
          description: Filter the logs by a specific event Topic
          schema:
            type: string
        - name: startDate
          in: query
          description: Filter by logs which happened after this date
          schema:
            type: string
            format: date-time
        - name: endDate
          in: query
          description: Filter by logs which happened before this date
          schema:
            type: string
            format: date-time
        - name: page
          in: query
          description: The page number to return.
          schema:
            type: integer
            format: int32
            default: 0
        - name: size
          in: query
          description: Number of records per page
          schema:
            type: integer
            format: int32
            default: 50
        - name: x-amberdata-blockchain-id
          in: header
          description: The id of the blockchain
          schema:
            type: string
            enum:
              - ethereum-mainnet
            default: ethereum-mainnet
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 200
                    default: 0
                  title:
                    type: string
                    example: OK
                  description:
                    type: string
                    example: Successful request
                  payload:
                    type: object
                    properties:
                      totalRecords:
                        type: integer
                        example: 6448870
                        default: 0
                      records:
                        type: array
                        items:
                          type: object
                          properties:
                            removed:
                              type: boolean
                              example: false
                              default: true
                            logIndex:
                              type: string
                              example: '230'
                            transactionIndex:
                              type: string
                              example: '62'
                            transactionHash:
                              type: string
                              example: >-
                                0x3c0abea77f9324b565696e51a6e7109a10fe320e985963b869105ce6e8db20f7
                            blockHash:
                              type: string
                              example: >-
                                0xa3f99da4a3871dbc8778a1fcb3a715ddbee89bfe3762eb6d1b624d4312e37757
                            blockNumber:
                              type: string
                              example: '7280571'
                            address:
                              type: string
                              example: '0x06012c8cf97bead5deae237070f9587f8e7a266d'
                            data:
                              type: array
                              items:
                                type: string
                                example: >-
                                  00000000000000000000000012b353d1a2842d2272ab5a18c6814d69f4296873
                            dataSize:
                              type: integer
                              example: 258
                              default: 0
                            timestamp:
                              type: integer
                              example: 1551393570000
                              default: 0
                            timestampNanoseconds:
                              type: integer
                              example: 0
                              default: 0
                            topics:
                              type: array
                              items:
                                type: string
                                example: >-
                                  0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80
                            blockchainId:
                              type: string
                              example: 1c9c969065fcd1cf
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````