hedera

package
v0.0.1-alpha-5 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HederaMirrorClient

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

func NewHederaMirrorClient

func NewHederaMirrorClient(mirrorNodeAPIAddress string) *HederaMirrorClient

func (HederaMirrorClient) AccountExists

func (c HederaMirrorClient) AccountExists(accountID hedera.AccountID) bool

func (HederaMirrorClient) GetAccountTransaction

func (c HederaMirrorClient) GetAccountTransaction(transactionID string) (*transaction.HederaTransactions, error)

func (HederaMirrorClient) GetStateProof

func (c HederaMirrorClient) GetStateProof(transactionID string) ([]byte, error)

func (HederaMirrorClient) GetSuccessfulAccountCreditTransactionsAfterDate

func (c HederaMirrorClient) GetSuccessfulAccountCreditTransactionsAfterDate(accountId hedera.AccountID, milestoneTimestamp int64) (*transaction.HederaTransactions, error)

type HederaNodeClient

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

func NewNodeClient

func NewNodeClient(config config.Client) *HederaNodeClient

func (*HederaNodeClient) GetClient

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

func (*HederaNodeClient) SubmitScheduledTransaction

func (hc *HederaNodeClient) SubmitScheduledTransaction(tinybarAmount int64, recipient, payerAccountID hedera.AccountID, nonce string) (*hedera.TransactionID, error)

func (*HederaNodeClient) SubmitTopicConsensusMessage

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

Jump to

Keyboard shortcuts

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