Creating a new topic
Create a topic that automatically has a admin key set, only allowing for the serverless client to update them. You can a topic completely private for writes and updates and sending messages.
Create new topic
POST
https://hedera-serverless-consensus.vercel.app/api/consensus/topic/:id
This endpoint will create a new topic that can be used to send messages to for a consensus timestamp. As this is an authenticated endpoint, 401 errors will be shown on incorrect authentication keys.
Query Parameters
Name | Type | Description |
---|---|---|
memo | string | A memo that will be added to the topic, this can also be an escaped JSON string. |
enable_private_submit_key | boolean | Make sure that consensus messages can only be sent from the account that created the topic. |
Headers
Name | Type | Description |
---|---|---|
x-api-key | string | The API_SECRET_KEY that is set in the clients environment. |
Last updated