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

# Transaction History



## OpenAPI

````yaml openapi.json GET /gateway/v1/wallet/history
openapi: 3.1.0
info:
  title: Hermod
  version: 0.0.1
servers:
  - url: https://api.asksurf.ai
security: []
paths:
  /gateway/v1/wallet/history:
    get:
      tags:
        - Wallet
      summary: Wallet Transaction History
      description: >-
        Returns full transaction history for a wallet — swaps, transfers, and
        contract interactions.


        **Lookup:** by `address`. Filter by `chain` — supports `ethereum`,
        `polygon`, `bsc`, `arbitrum`, `optimism`, `avalanche`, `fantom`, `base`.
      operationId: wallet-history
      parameters:
        - description: >-
            Wallet address — must be a raw 0x-prefixed hex address, not an ENS
            name
          explode: false
          in: query
          name: address
          required: true
          schema:
            description: >-
              Wallet address — must be a raw 0x-prefixed hex address, not an ENS
              name
            examples:
              - '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045'
            type: string
        - description: >-
            Chain filter. Can be `ethereum`, `polygon`, `bsc`, `avalanche`,
            `arbitrum`, `optimism`, `fantom`, or `base`.
          explode: false
          in: query
          name: chain
          schema:
            default: ethereum
            description: >-
              Chain filter. Can be `ethereum`, `polygon`, `bsc`, `avalanche`,
              `arbitrum`, `optimism`, `fantom`, or `base`.
            enum:
              - ethereum
              - polygon
              - bsc
              - avalanche
              - arbitrum
              - optimism
              - fantom
              - base
            examples:
              - ethereum
            type: string
        - description: Results per page
          explode: false
          in: query
          name: limit
          schema:
            default: 20
            description: Results per page
            examples:
              - 20
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - description: Pagination offset
          explode: false
          in: query
          name: offset
          schema:
            default: 0
            description: Pagination offset
            examples:
              - 0
            format: int64
            minimum: 0
            type: integer
        - description: Field to sort results by
          explode: false
          in: query
          name: sort_by
          schema:
            default: timestamp
            description: Field to sort results by
            enum:
              - timestamp
              - value
            examples:
              - timestamp
            type: string
        - description: Sort order
          explode: false
          in: query
          name: order
          schema:
            default: desc
            description: Sort order
            enum:
              - asc
              - desc
            examples:
              - desc
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataResponseWalletHistoryItem'
          description: OK
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataAPIError'
          description: Error
      security:
        - AccessToken: []
components:
  schemas:
    DataResponseWalletHistoryItem:
      additionalProperties: false
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
            - https://example.com/schemas/DataResponseWalletHistoryItem.json
          format: uri
          readOnly: true
          type: string
        data:
          items:
            $ref: '#/components/schemas/WalletHistoryItem'
          type:
            - array
            - 'null'
        meta:
          $ref: '#/components/schemas/OffsetMeta'
      required:
        - data
        - meta
      type: object
    DataAPIError:
      additionalProperties: false
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
            - https://example.com/schemas/DataAPIError.json
          format: uri
          readOnly: true
          type: string
        error:
          $ref: '#/components/schemas/DataAPIErrorDetail'
      required:
        - error
      type: object
    WalletHistoryItem:
      additionalProperties: false
      properties:
        from_address:
          description: Sender wallet address
          type: string
        timestamp:
          description: Unix timestamp in seconds when the transaction was confirmed
          format: int64
          type: integer
        to_address:
          description: Recipient wallet address
          type: string
        tx_hash:
          description: Transaction hash
          type: string
        tx_type:
          description: 'Transaction type: `send`, `receive`, `swap`, `approve`, etc.'
          type: string
        value:
          description: Decimal-adjusted transaction value in native token as a string
          type: string
      required:
        - tx_hash
        - from_address
        - to_address
        - value
        - timestamp
      type: object
    OffsetMeta:
      additionalProperties: false
      properties:
        cached:
          description: Whether this response was served from cache
          type: boolean
        credits_used:
          description: Credits deducted for this request
          format: int64
          type: integer
        limit:
          description: Maximum number of items returned in this response
          format: int64
          type: integer
        offset:
          description: Number of items skipped (pagination offset)
          format: int64
          type: integer
        total:
          description: >-
            Total number of matching items (before pagination). Omitted when
            total is unknown.
          format: int64
          type: integer
      required:
        - limit
        - offset
        - credits_used
        - cached
      type: object
    DataAPIErrorDetail:
      additionalProperties: false
      properties:
        code:
          type: string
        message:
          type: string
      required:
        - code
        - message
      type: object

````