message

package
v0.0.4-rc-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChunkInfo

type ChunkInfo struct {
	InitialTransactionId InitialTransactionId `json:"initial_transaction_id"`
	Number               int64                `json:"number"`
	Total                int64                `json:"total"`
}

type InitialTransactionId

type InitialTransactionId struct {
	AccountId             string `json:"account_id"`
	Nonce                 uint64 `json:"nonce"`
	Scheduled             bool   `json:"scheduled"`
	TransactionValidStart string `json:"transaction_valid_start"`
}

type Message

type Message struct {
	ConsensusTimestamp string     `json:"consensus_timestamp"`
	TopicId            string     `json:"topic_id"`
	Contents           string     `json:"message"`
	RunningHash        string     `json:"running_hash"`
	SequenceNumber     int64      `json:"sequence_number"`
	ChunkInfo          *ChunkInfo `json:"chunk_info"`
}

Message struct used by the Hedera Mirror node REST API to represent Topic Message

type Messages

type Messages struct {
	Messages []Message
}

Messages struct used by the Hedera Mirror node REST API and returned once Topic Messages are queried

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL