hedera

package
v0.0.1-alpha-6 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	// contains filtered or unexported fields
}

Node struct holding the hedera.Client. Used to interact with Hedera consensus nodes

func NewNodeClient

func NewNodeClient(config config.Client) *Node

NewNodeClient creates new instance of hedera.Client based on the provided client configuration

func (Node) GetClient

func (hc Node) GetClient() *hedera.Client

GetClient returns the hedera.Client

func (Node) SubmitTopicConsensusMessage

func (hc Node) SubmitTopicConsensusMessage(topicId hedera.TopicID, message []byte) (*hedera.TransactionID, error)

SubmitTopicConsensusMessage submits the provided message bytes to the specified HCS `topicId`

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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