Hedera · Example Payload

Gettopicmessagebyidandsequencenumber

Returns a single topic message for the given topic id and sequence number.

topics

Gettopicmessagebyidandsequencenumber is an example object payload from Hedera, with 8 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummarydescriptiontagsparametersresponses

Example Payload

Raw ↑
{
  "operationId": "getTopicMessageByIdAndSequenceNumber",
  "method": "GET",
  "path": "/api/v1/topics/{topicId}/messages/{sequenceNumber}",
  "summary": "Get topic message by id and sequence number",
  "description": "Returns a single topic message for the given topic id and sequence number.",
  "tags": [
    "topics"
  ],
  "parameters": [
    {
      "name": "topicId",
      "in": "path",
      "description": "Topic id",
      "required": true
    },
    {
      "name": "sequenceNumber",
      "in": "path",
      "description": "Topic message sequence number",
      "required": true
    }
  ],
  "responses": {
    "200": "OK",
    "400": "Invalid parameter",
    "404": "Not Found"
  }
}