List topic messages by id
Returns the list of topic messages for the given topic id.
Path parameters
Network entity ID in the format of shard.realm.num
Topic id
Query parameters
The maximum number of items to return
The order in which items are listed
The consensus timestamp as a Unix timestamp in seconds.nanoseconds format with an optional comparison operator. See unixtimestamp.com for a simple way to convert a date to the 'seconds' part of the Unix time.
Response
OK
Example response
{
"messages": [
{
"chunk_info": {
"initial_transaction_id": "0.0.10-1234567890-000000321",
"nonce": 3,
"number": 1,
"total": 2,
"scheduled": true
},
"consensus_timestamp": "1234567890.000000001",
"message": "bWVzc2FnZQ==",
"payer_account_id": "0.0.10",
"running_hash": "cnVubmluZ19oYXNo",
"running_hash_version": 2,
"sequence_number": 1,
"topic_id": "0.0.7"
}
]
}Changes
Changed in 1 of the 53 revisions of this API.11
- ▲
the response property
_status/messages/items/databecame nullable for the status400response-property-became-nullable
- ▲
the response property
_status/messages/items/databecame nullable for the status404response-property-became-nullable
- ▲
the response property
_status/messages/items/detailbecame nullable for the status400response-property-became-nullable
- ▲
the response property
_status/messages/items/detailbecame nullable for the status404response-property-became-nullable
- ▲
the response property
links/nextbecame nullable for the status200response-property-became-nullable
- ▲
the response property
messages/items/chunk_infobecame nullable for the status200response-property-became-nullable
- ▲
the response property
messages/items/chunk_info/initial_transaction_id/account_idbecame nullable for the status200response-property-became-nullable
- ▲
the response property
messages/items/chunk_info/initial_transaction_id/noncebecame nullable for the status200response-property-became-nullable
- ▲
the response property
messages/items/chunk_info/initial_transaction_id/scheduledbecame nullable for the status200response-property-became-nullable
- ▲
the response property
messages/items/payer_account_idbecame nullable for the status200response-property-became-nullable
- ▲
the response property
messages/items/topic_idbecame nullable for the status200response-property-became-nullable
This revision also has 22 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲