Skip to main content

Most Used Commands

Create a new topic with admin and submit key set
Submit a message
Find messages between a range of 1 and 3

Full Command Reference

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.
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)
List all topics stored in the state.
string
Filter topics by network.
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 {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)
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.