Skip to main content
GET
List topic messages by id
List topic messages by ID This method will use 20 Compute Units.

Path Parameters

topicId
string | null
required

Topic id Network entity ID in the format of shard.realm.num

Pattern: ^\d{1,10}\.\d{1,10}\.\d{1,10}$
Example:

"0.1.2"

Query Parameters

encoding
string
limit
integer<int32>
default:25

The maximum number of items to return

Required range: 1 <= x <= 100
order
enum<string>
default:desc

The order in which items are listed

Available options:
asc,
desc
sequencenumber
integer<int64>
Required range: x >= 0
timestamp
string[]

The consensus timestamp in seconds.nanoseconds format with an optional comparison operator

Pattern: ^((eq|gt|gte|lt|lte|ne):)?\d{1,10}(.\d{1,9})?$

Response

OK

messages
object[]