Skip to main content

/api/v1/topics/messages/{timestamp} RPC Method

Returns a topic message the given the consensusTimestamp.

Updated on
Dec 18, 2024

/api/v1/topics/messages/{timestamp} RPC Method

Path Parameters

timestamp
string
REQUIRED
The Unix timestamp in seconds.nanoseconds format, the timestamp at which the associated transaction reached consensus

Returns

chunk_info
object
The chunk_info object which contains the following fields:
initial_transaction_id
string
The transaction ID of the initial transaction that started the chunked message
nonce
integer
The nonce value associated with the chunk
number
integer
The current chunk numbe
total
integer
The total number of chunks
scheduled
boolean
A boolean indicating whether the message is scheduled
consensus_timestamp
string
The consensus timestamp when the message was published
message
string
The message content, encoded in Base64
payer_account_id
string
The account ID of the payer for the message transaction
running_hash
string
The running hash of the message
running_hash_version
integer
The version of the running hash algorithm
sequence_number
integer
The sequence number of the message within the topic
topic_id
string
The ID of the topic to which the message was published
Request
1
curl 'https://docs-demo.hedera-testnet.quiknode.pro/api/v1/topics/messages/{timestamp}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free