topics

Get topic message by id and sequence number

Changed on

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

get/api/v1/topics/{topicId}/messages/{sequenceNumber}

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/topics/{topicId}/messages/{sequenceNumber}
  • Auth
    none declared

Path parameters

topicIdstring nullable required

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

Example:0.0.2

Topic id

sequenceNumberinteger required

Topic message sequence number

Response

OK

consensus_timestampstring required

A Unix timestamp in seconds.nanoseconds format

messagestring required
payer_account_idstring nullable required

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

running_hashstring byte required
running_hash_versioninteger required
sequence_numberinteger required
topic_idstring nullable required

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

Example response

{
  "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

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status