v1

latestOpenAPI 3.0.3Apache-2.02026-07-1348142206.6 KB
topics

Get topic by ID

Returns the topic details for the given topic ID.

get/api/v1/topics/{topicId}

Path parameters

topicIdstring nullable required

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

Example:0.0.2

Topic id

Response

OK

auto_renew_accountstring nullable required

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

auto_renew_periodinteger nullable required

The amount of time to attempt to extend the topic's lifetime after expiration.

created_timestampstring nullable required

A Unix timestamp in seconds.nanoseconds format

deletedboolean nullable required

Whether the topic is deleted or not.

memostring required

The memo associated with the topic.

topic_idstring nullable required

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

Example response

{
  "admin_key": {
    "_type": "ProtobufEncoded",
    "key": "15706b229b3ba33d4a5a41ff54ce1cfe0a3d308672a33ff382f81583e02bd743"
  },
  "auto_renew_account": "0.0.2",
  "auto_renew_period": 7776000,
  "created_timestamp": "1586567700.453054000",
  "custom_fees": {
    "created_timestamp": "1586567700.453054000",
    "fixed_fees": [
      {
        "amount": 100,
        "collector_account_id": "0.0.2",
        "denominating_token_id": "0.0.2"
      }
    ]
  },
  "fee_exempt_key_list": [
    {
      "_type": "ProtobufEncoded",
      "key": "15706b229b3ba33d4a5a41ff54ce1cfe0a3d308672a33ff382f81583e02bd743"
    }
  ],
  "fee_schedule_key": {
    "_type": "ProtobufEncoded",
    "key": "15706b229b3ba33d4a5a41ff54ce1cfe0a3d308672a33ff382f81583e02bd743"
  },
  "memo": "topic memo",
  "submit_key": {
    "_type": "ProtobufEncoded",
    "key": "15706b229b3ba33d4a5a41ff54ce1cfe0a3d308672a33ff382f81583e02bd743"
  },
  "timestamp": {
    "from": "1586567700.453054000",
    "to": "1586567700.453054000"
  },
  "topic_id": "0.0.2"
}