Most Used Commands
Create a new topic with admin and submit key setFull Command Reference
Topic Create
Topic Create
Create a new Hedera Consensus Service topic with optional memo and keys.
string
required
Define the name for this topic.
string
The memo for a topic.
string
Pass an admin key as name or private key for the topic. Private key can be optionally prefixed with key type
(e.g., “ed25519:…” or “ecdsa:…”). Defaults to ecdsa if no prefix.
(e.g., “ed25519:…” or “ecdsa:…”). Defaults to ecdsa if no prefix.
string
Submit key as account name or
{accountId}:{private_key} format.string(local|local_encrypted)
Key manager to use: local or local_encrypted (defaults to config setting)
Topic List
Topic List
List all topics stored in the state.
string
Filter topics by network.
Topic Submit-Message
Topic Submit-Message
Submit a message to a Hedera Consensus Service topic
string
required
The topic ID or topic name.
string
required
Submit a message to the topic.
string
Account to use for signing the message. Can be an alias or
Required for public topics (without submit keys). For topics with submit keys, must be one of the authorized signers.
{accountId}:{private_key}.Required for public topics (without submit keys). For topics with submit keys, must be one of the authorized signers.
string(local|local_encrypted)
Key manager to use: local or local_encrypted (defaults to config setting)
Topic Find-Message
Topic Find-Message
Find messages in a topic by sequence number or filters
string
required
The topic ID or topic name to filter for.
int
Filter by sequence number greater than.
int
Filter by sequence number greater than or equal to.
int
Filter by sequence number less than.
int
Filter by sequence number less than or equal to.
int
Filter by sequence number equal to.