---
title: "transaction messages"
method: GET
path: "/messages"
tags: ["transaction"]
---

# transaction messages

`GET /messages`

Returns filtered messages

## Query parameters

- `hash` string
- `src_workchain` integer
- `dst_workchain` integer
- `src_address` string[]
- `dst_address` string[]
- `operation_id` string
- `src_contract` string[]
- `dst_contract` string[]
- `operation_name` string[]
- `order` 'ASC' | 'DESC'
- `after` integer
- `limit` integer
- `count` boolean

## Response `200`

OK

- FilterMessagesRes
  - `results` CoreMessage[]
    - `amount` BunbigInt
    - `body` integer[]
    - `body_hash` integer[]
    - `bounce` boolean
    - `bounced` boolean
    - `created_at` string
    - `created_lt` integer
    - `data` integer[]
    - `dst_address` integer[]
    - `dst_block_seq_no` integer
    - `dst_contract` string
    - `dst_shard` integer
    - `dst_state` CoreAccountState
      - `address` integer[]
      - `balance` BunbigInt
      - `block_seq_no` integer
      - `code` integer[]
      - `code_hash` integer[]
      - `content_description` string
      - `content_image` string
      - `content_image_data` integer[]
      - `content_name` string
      - `content_uri` string
      - `data` integer[]
      - `data_hash` integer[]
      - `executed_get_methods` object
      - `fake` boolean
      - `get_method_hashes` integer[]
      - `is_active` boolean
      - `jetton_balance` string
      - `label` CoreAddressLabel
        - `address` integer[]
        - `categories` string[]
        - `name` string
      - `last_tx_hash` integer[]
      - `last_tx_lt` integer
      - `libraries` integer[]
      - `minter_address` integer[]
      - `owner_address` integer[] — common fields for FT and NFT
      - `shard` integer
      - `state_hash` integer[] — only if account is frozen
      - `status` string — TODO: ch enum
      - `types` string[]
      - `updated_at` string
      - `workchain` integer
    - `dst_tx_hash` integer[]
    - `dst_tx_lt` integer
    - `dst_workchain` integer
    - `error` string
    - `fwd_fee` BunbigInt
    - `hash` integer[]
    - `ihr_disabled` boolean
    - `ihr_fee` BunbigInt
    - `operation_id` integer
    - `operation_name` string
    - `src_address` integer[]
    - `src_block_seq_no` integer
    - `src_contract` string
    - `src_shard` integer
    - `src_state` CoreAccountState
      - `address` integer[]
      - `balance` BunbigInt
      - `block_seq_no` integer
      - `code` integer[]
      - `code_hash` integer[]
      - `content_description` string
      - `content_image` string
      - `content_image_data` integer[]
      - `content_name` string
      - `content_uri` string
      - `data` integer[]
      - `data_hash` integer[]
      - `executed_get_methods` object
      - `fake` boolean
      - `get_method_hashes` integer[]
      - `is_active` boolean
      - `jetton_balance` string
      - `label` CoreAddressLabel
        - `address` integer[]
        - `categories` string[]
        - `name` string
      - `last_tx_hash` integer[]
      - `last_tx_lt` integer
      - `libraries` integer[]
      - `minter_address` integer[]
      - `owner_address` integer[] — common fields for FT and NFT
      - `shard` integer
      - `state_hash` integer[] — only if account is frozen
      - `status` string — TODO: ch enum
      - `types` string[]
      - `updated_at` string
      - `workchain` integer
    - `src_tx_hash` integer[]
    - `src_tx_lt` integer
    - `src_workchain` integer
    - `state_init_code` integer[]
    - `state_init_data` integer[]
    - `transfer_comment` string
    - `type` string — TODO: ch enum
  - `total` integer

## Changes

> 44 revisions in range; 1 could not be searched.

- **2023-10-11** `7de4f8e02752` — 2 info
  - added the new optional `query` request parameter `dst_workchain`
  - added the new optional `query` request parameter `src_workchain`
- **2023-05-31** `b6fb7b13cfaa` — 1 warning
  - deleted the `query` request parameter `minter_address`
- **2023-05-12** `c280a268a0df` — 1 info
  - added the new optional `query` request parameter `operation_id`
- **2023-03-20** `3e528fbbff65` — 1 info
  - added the new optional `query` request parameter `minter_address`
- **2023-03-03** `60e8b0ebd270` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/tonindexer/apis/anton/changes/messages/get.md)

---

[API](https://skmtc.dev/tonindexer/apis/anton.md) · [All operations](https://skmtc.dev/tonindexer/apis/anton/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tonindexer/anton/revisions/a3d3850ec94f/schema)
